Customizing text editor settings

You should use identical font and editor settings, in order to achieve a uniform typeface in different programs. You can customize these settings in the TwinCAT options.

When TwinCAT 3 is integrated into Visual Studio, the font and tabulator size are preset by default.

Customizing the font and colors

1. Select the Options command in the Tools menu.
The Options dialog opens.
2. Select the category Environment > Fonts and colors.
3. Select the desired font settings.
4. Close the dialog with OK.
The settings are applied after restarting the program.

Default settings:

Element

Text only

Font

Consolas

Size

10

Item foreground

Standard (black)

Item background

Default (white)

Customizing the text layout

1. Select the Options command in the Tools menu.
The Options dialog opens.
2. Select the category TwinCAT > PLC Environment > Text editor.
3. Select the desired layout settings.
4. Close the dialog with OK.
The settings are applied after restarting the program.

Default settings:

Number of undo steps

100

Folding

Indent

Word wrap

None

Tab width

4

Keep tabs

Yes

Number of indent characters

4

Auto Indent

Smart with code completion