DVT PSS IDE User Guide
Rev. 21.1.50, 23 November 2021

26.8 Syntax Coloring

Source code is colored in the DVT editor. Some language constructs are colored based on a syntactical analysis of the code, while others require a more elaborate semantic analysis, as detailed in the table below. Semantic coloring is only performed when the source code is compiled.

Category Requires compilation Details
Actionsy 
Action Handlesy 
ArgumentsyFunction arguments
Comment Hyperlinks  
Comment PragmasyCompilation is required for Custom Pragmas
Comments  
Componentsy 
Component Instancesy 
Default Any word which does not belong to other categories
Enum Itemsy 
Fieldsy 
Functionsy 
Inputsy 
Javadoc Tags  
Keywords  
LabelsyLabeled sub-activities
Locksy 
Numbers  
Outputsy 
Pool of Flow Objectsy 
Pool of Resource Objectsy 
Sharesy 
Static Const Fieldsy 
Strings  
Symbolsy 
Task Tags  
Template Identifiers  
TypesyEnums, resources, structs etc.
Variablesy 

You can change the coloring style for each of the categories. Go to Window > Preferences > DVT > PSS > Editor > Syntax Coloring, select the category you wish to modify from the list and set the color and font style.

A code sample in the Syntax Coloring preference page helps you preview the changes instantly. The default style is shown below: