Show TOC

FormattingLocate this document in the navigation structure

Use

The Front-End Editor supports a number of useful features that allow you to format your code.

Features
  • Format Selection

    This feature allows you to format a selected block. You can format a selected block by choosing Start of the navigation path Format Next navigation step Format Selection End of the navigation path

  • Surround by Template

    This feature allows you to surround selected text with a defined template. You can insert a template in a selected block by choosing Start of the navigation path Format Next navigation step Surround by template End of the navigation path

  • Extract Template

    This feature allows you to create your own template. You can copy a template and add it to the list of predefined templates by choosing Start of the navigation path Format Next navigation step Extract template. End of the navigation path An Add Code Template dialog appears. You can add shortcut and a description and choose the template to be added.

  • Comment Lines/ Uncomment Lines

    • Comment

      This feature allows you to apply a comment to a line in the code.

    • Uncomment

      This feature removes the comment from the line.

    Use CTRL+ \ for Comment and CTRL+SHIFT+ \ for Uncomment.

  • Comment Selection/ Uncomment Selection

    • Comment Selection

      This feature allows you to apply a comment to a selection.

    • Uncomment Selection

      This feature allows you to remove the comment.

      You can set these features by choosing Start of the navigation path Format Next navigation step Comment Selection End of the navigation path or Uncomment Selection.

  • Increase Line Indent/ Decrease Line Indent

    This feature allows you to indent lines in the code by a certain number of spaces.

    You can increase or decrease line indent by choosing Start of the navigation path Format Next navigation step Increase Line Indent End of the navigation path or Decrease Line Indent.

    You can also increase the line indent by using TAB and decrease the line indent by using SHIFT+TAB.

  • Change Case

    This feature allows you to switch between cases when you code.

    You can switch between cases by choosing Start of the navigation path Format Next navigation step Change Case End of the navigation path.

    You can also change cases using:

    • CTRL+L for Lower Case

    • CTRL+U for Upper Case

    • CTRL+Y for Capitalize

    • CTRL+T for Sentencize

    • CTRL+K for Invert Case

  • Join Lines

    This feature allows you to merge the text of two or more lines.

    You can set it by choosing Start of the navigation path Format Next navigation step Join Lines. End of the navigation path

  • Sort Lines

    This feature allows you to select lines in your source and sort them alphabetically.

    You can set it by choosing Start of the navigation path Format Next navigation step Sort Lines. End of the navigation path

For more information, see

Formatting Settings