The Front-End Editor supports a number of useful features that allow you to format your code.
Format Selection
This feature allows you to format a selected block. You can format a selected block by choosing
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
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 Add Code Template dialog appears. You can add shortcut and a description and choose the template to be added.
AnComment 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 Uncomment Selection.
orIncrease 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 Decrease Line Indent.
orYou 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
.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
Sort Lines
This feature allows you to select lines in your source and sort them alphabetically.
You can set it by choosing
For more information, see