ST editor options

Adapt the options under Extras > Options > Program options > Editors > ST editor

Option

Description

Tab size

With this option you can set the tab size for indented lines. The preset tab size is 4 spaces.

Show line numbers

Display a line number next to each line of code.

Show whitespaces

Visualize whitespace characters and tabulators.

Show line endings

Display the end-of-line characters (CR)(LF).

Show indentation guides

Vertical lines appear in the editor that line up with structured code blocks, which lets you easily identify the individual blocks of code.

Line wrap

When selected, any portion of a line that extends horizontally beyond the viewable editor area is automatically displayed on the next line. A return-arrow indicator is displayed where a long line wraps onto a second line.

Wrapping options (instruction parameters)

Insert automatic line breaks when inserting parameter lists of functions or function blocks. Choose the number of parameters displayed in one line.

Related topics:

Modified on: 2022-09-27Feedback on this pagePanasonic hotline