Syntax editor JavaScript support
-
- UpdatedJan 30, 2025
- 4 minutes to read
- Yokohama
- Building applications
The syntax editor provides editing functions to support editing JavaScript scripts.
JavaScript editing functions
JavaScript editing tips
- To fold a code block, click the minus sign beside the first line of the block. The minus sign only appears beside blocks that can be folded. To unfold the code block, click the plus sign.
- To insert a fixed space anywhere in your code, press Tab.
- To indent a single line of code, click in the leading white space of the line and then press Tab.
- To indent one or more lines of code, select the code and then press Tab. To decrease the indentation, press Shift + Tab.
- To remove one tab from the start of a line of code, click in the line and press Shift + Tab.
JavaScript resources
Scripts use ECMA 262 standard JavaScript. Helpful resources include:
- Mozilla: http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference
- ECMA Standard in PDF format: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
- History and overview: http://javascript.crockford.com/survey.html
- JavaScript number reference: http://www.hunlock.com/blogs/The_Complete_Javascript_Number_Reference