Products Downloads


French version


 

The extension offers source code highlighting when displaying and inputting a template to make the code easier to read and understand.

Syntax highlighting determines the color and style of the source code in the Visual Studio Code editor. This feature colors the keywords of the programming language (such as <#if> or <@hardisFo.foBlock>) differently from alphanumeric strings, comments and variable names.


Play video in media player


Syntax highlighting does not replace the syntax checker as it does not differentiate between the expressions "12 + 4.5" and "12 4.5 +". The written code needs to be validated by executing the template.

The color of the keywords is based on the color theme used by the Visual Studio Code editor.

The example above is based on the default theme "Dark+". With this theme, the text displayed in white (non-highlighted text) is text that is not supported (i.e. not recognized) by syntax highlighting.


The theme can be changed in the editor: to do this, select the "Color theme" command from the command palette (Ctrl + Shift + P in Windows):


Play video in media player

↑ Top of page




  • Aucune étiquette