Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • Kotva
    odsadenie
    odsadenie
    Automatic indentation
    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:
    1. 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.
    2. 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.
    3. 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.
    4. Pressing SHIFT + ALT + F will format the entire text
  • Column text selection is possible by pressing SHIFT+ALT and then by dragging mouse

Image Added

  • Basic keyboard shortcuts:

    ShortcutAction
    F1Display the complete list of actions together with keyboard shortcuts
    CTRL+F1Display editor help, if the cursor is over the function name, help for the function is displayed


    CTRL+SPACEShow suggestions
    CTRL+SHIFT+SPACEShow quick info for procedure and function parameters


    CTRL+K CTRL+CAdd a comment to the current line
    CTRL+K CTRL+UDelete a comment from the current line
    CTRL+/Add / remove a comment from the current line
    SHIFT+ALT+AAdd / remove a comment from the current selection


    CTRL+F2Rename all occurrences
    F2Rename a symbol within its validity


    CTRL+FSearch in the script
    ENTERFind another occurrence
    SHIFT+ENTERFind the previous occurrence


    SHIFT+ALT+FFormat the entire script
    CTRL+K CTRL+FFormat the selected area


    CTRL+F12Go to definition
    CTRL+GGo to line
    ALT+F8Go to the next problem
    SHIFT+ALT+F8Go to the previous problem
    SHIFT+F12Go to references
    CTRL+SHIFT+OGo to symbol - displays the option to go to functions, variables, parameters defined in the script


    CTRL+SHIFT+F8Check script syntax
    CTRL+F8Compile the script
    CTRL+SCompile and save the script
    CTRL+1Opens a list of D2000 system objects.
    CTRL+2Opens a list of predefined constants.
    CTRL+3Opens a list of functions.
    CTRL+4Opens a list of actions.
    CTRL+5Opens a list of local variables.
    CTRL+6Opens a list of value attributes of an object or local variable.
    F2Save the script to the file
    F8Switch to debug mode


...