VHDL and Verilog for Visual Studio

Documentation

V3S | Coding | Syntax Highlighting


Support

  VHDL
  Verilog

How to Access

Automatic action depending on context (eg, cursor position, settings, window focus, etc.)

Description

Code highlighting according to VHDL 2008 syntax: Keywords, symbols, strings, identifiers, etc.

Documentation

Syntax coloring is one of the major strengths of V3S. For VHDL, there are very sophisticated options for syntax coloring. Let us first take a look at the V3S syntax coloring preferences window which can be found at V3S|Preferences...|Common|Code Coloring.
  • There is just one coloring dialog for both VHDL and Verilog. Most of the items are shared anyway, and language-unique items can easily be identified by context.
  • The colors can also be modified in Tools|Options...|Environment|Fonts and Colors (see below for a screenshot). The items are prefixed with V3S for fast reference
  • You can change the colors in either of the two dialogs - however, the V3S Code Coloring is much nicer.
  • V3S supports 25 different types of tokens that can be colorized. Please refer to the preferences dialog for details.
  • As V3S understands your code, it can differentiate between various kinds of symbols: Types vs. Signals vs. Variables vs. Constants vs. Generics ...
  • In the preferences dialog you get a code preview where the currently selected colorize-items are highlighted. This way you can easily check what each item means
  • Don't forget to hit the Apply button when you are ready to use your new settings.
V3S Code Coloring Dialog


1
You can select of a predefined list of presets. Just select one, the preview area
3
is automatically updated. Notice that there is a preset for the dark theme. However, it is not applied automatically when the dark theme is enabled. You have to apply it manually.
2
This is a list of all items (i.e., VHDL/Verilog language tokens) that can be colorized. V3S understands your code and can distinguish a huge variety of tokens. If you select an item, you can change its attributes at the right side of the area. In the preview area
3
the tokens matching your current selection are highlighted with a red rectangle. Use this aid as help to find out what exactly each entry means.
3
The preview area shows some example code for either VHDL or Verilog (depending on the dropdown list above the area). It shows the code colorized according to your current settings (preset, etc). If further highlights the currently selected colorize-item with a red rectangle for easy reference.

Default Visual Studio Dialog


© 2013 - 2017 by ViDE-Software Contact | Terms | Imprint