...
Automatic indentationKotva odsadenie odsadenie
When writing the ESL script and moving to the new line, the ESL editor automatically indents the current line (according to the first non-zero line) and move the cursor on the given position. The indent size is automatically detected from the current script, but can also be adjusted in the status bar (Figure area 6).
Features of automatic indentation:- When moving to a new line after selected actions (eg RPC, PROCEDURE, PUBLIC, FOR, DO_LOOP, IF ...) in the ESL editor, the text is automatically indented by the defined size.
- When moving to a new line after selected actions (eg END_LOOP, ENDIF ...) in the ESL editor, the text is automatically indented by defined size to the left of the previous line.
- When you press CTRL + K and then CTRL + F, the highlighted text is formatted according to the previous properties. The indent of the first line in the marked set of lines is decisive for this action.
- Pressing SHIFT + ALT + F will format the entire text
- Column text selection is possible by pressing SHIFT+ALT and then by dragging mouse
Basic keyboard shortcuts:
Shortcut Action F1 Display the complete list of actions together with keyboard shortcuts CTRL+F1 Display editor help, if the cursor is over the function name, help for the function is displayed CTRL+SPACE Show suggestions CTRL+SHIFT+SPACE Show quick info for procedure and function parameters CTRL+K CTRL+C Add a comment to the current line CTRL+K CTRL+U Delete a comment from the current line CTRL+/ Add / remove a comment from the current line SHIFT+ALT+A Add / remove a comment from the current selection CTRL+F2 Rename all occurrences F2 Rename a symbol within its validity CTRL+F Search in the script ENTER Find another occurrence SHIFT+ENTER Find the previous occurrence SHIFT+ALT+F Format the entire script CTRL+K CTRL+F Format the selected area CTRL+F12 Go to definition CTRL+G Go to line ALT+F8 Go to the next problem SHIFT+ALT+F8 Go to the previous problem SHIFT+F12 Go to references CTRL+SHIFT+O Go to symbol - displays the option to go to functions, variables, parameters defined in the script CTRL+SHIFT+F8 Check script syntax CTRL+F8 Compile the script CTRL+S Compile and save the script CTRL+1 Opens a list of D2000 system objects. CTRL+2 Opens a list of predefined constants. CTRL+3 Opens a list of functions. CTRL+4 Opens a list of actions. CTRL+5 Opens a list of local variables. CTRL+6 Opens a list of value attributes of an object or local variable. F2 Save the script to the file F8 Switch to debug mode
...