ST Editor

The ST editor is a text editor and is used for the implementation of code in Structured Text (ST) and Extended Structured Text (ExST).

The line numbering is located on the left-hand side of the editor. The List components function and, in the context menu or by pressing the F2 key, the Input assistant are available to you for the input of the programming elements. If the cursor is over a variable, CODESYS displays information for the declaration of the variables in the tooltip.

CODESYS identifies syntax errors during the editing procedure and displays the corresponding messages in the Messages window (View menu) in the category Pre-compilation. In addition, these error points are underlined with a wavy red line. The requirement for this is that the corresponding option is activated in the CODESYS Options, category Smart Coding.

The behavior (for example parenthesization, mouse actions, tabs) and appearance of the editor are configured in the CODESYS options in the category Text editor.

See also