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: