DVT VHDL IDE User Guide
Rev. 24.1.5, 13 March 2024

32.11 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
ArgumentsyFunction and procedure arguments
Attributesy 
Comment Hyperlinks  
Comment PragmasyCompilation is required for Custom Pragmas
Comments  
Constantsy 
Default Any word which does not belong to other categories
End Labelsy 
Enumeration Literalsy 
Functions, Proceduresy 
Javadoc Tags  
Keywords  
Labelsy 
Numbers  
Ports - Input, Inouty 
Ports - Outputy 
Record Elementsy 
Signalsy 
Strings  
Task Tags  
Template Identifiers  
TypesyEntities, user defined types, components
Variablesy 

You can change the coloring style for each of the categories defined in the table above. Go to Window > Preferences > DVT > VHDL > 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: