Skip to content

Modify Action&Condition Syntax Highlighting in TwinCAT HMI’ Designer

The information in this post are usable with:

  • VisualStudio 2017, 2019
  • TE2000-HMI-Engineering 1.12.*.* (Download) and future releases

As you already know the TwinCAT HMI uses a JSON-dialect for Action&Conditions of any Control. In 1.12 and higher syntax highlight functionality is added and activated by default. The user can change the colors for some categories. The possible settings are provided in VisualStudio’s font setting dialog:

“Tools / Options… / Environment / Fonts and Colors / Display items:”

It is up to you how the syntax highlighting has to look like, you can change the color, the font itself, etc. The result will be applied in the codeview of TwinCAT HMI’s Designer:

TwinCAT HMI Syntax Highlighting for Action&Condition

4 Comments

  1. victor victor

    Hello,
    the link to download version v1.12.xx is not available, the version available is TE2000-HMI-Engineering_1.10.1336.372, do you know when version 1.12 will be available?
    Regards, Victor.

    • Hey Victor, our goal is the end of Febrauary, but not later than March. The next version includes many new major features, for example TypeScript-Support, Nuget Package Support, Automation Interface, and a lot of more…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.