Dialog: Options: SmartCoding
Symbol:
Function: The dialog is used to configure the settings which make for easier coding.
Call: command, SmartCoding category
Declare unknown variables automatically (AutoDeclare) |
In order for the AutoDeclare function to be available in the ST editor as well, the Enable for ST editor option also has to be selected. |
Enable for ST editor | Requirement: The Declare unknown variables automatically (AutoDeclare) option is selected.
|
Show all instance variables in input assistant |
|
Show symbols from system libraries in input assistant | System libraries are automatically inserted in the Library Manager and displayed in light gray.
|
List components after typing a dot (.) |
When you type a dot ( |
List components immediately when typing | Requirement: The List components after typing a dot (.) option is selected.
|
Insert with namespace |
|
Convert keywords to uppercase automatically (AutoFormat) |
|
Automatically list selection in cross reference view |
|
Underline Errors in the Editor |
This option is used to enable or disable the precompile feature. It should be noted that not all errors are recognized in the precompile phase because no code is generated in this phase. Unrecognized errors are especially those errors which occur when allocating the data, for example when the available memory for the data runs out. In addition, in the precompile phase errors can also occur which are not relevant when generating the code. One example of errors which are reported but are not relevant when generating code: problems which are reported in function blocks that are not used anywhere. If there is no instance of the type of a function block, then the compiler is not interested in this function block, but errors are still underlined in the editor. |
Highlight symbols |
|
Max degree of parallelism | List box for the number of parallel threads which can be used for the precompile processing CODESYS detects the displayed number of threads from the number of CPU cores. This default number should be changed only in exceptional cases. |