DVT IDE for VS Code VHDL User Guide
Rev. 23.1.21, 12 September 2023

14.4 Vertical Alignment

When enabled, this option performs vertical alignment.

  • Vertical Alignment Tokens

The lines of code inside the same scope are aligned by the specified list of vertical alignment tokens. Vertical alignment is performed left to right, by the same token. For example assuming '=' and ':' as vertical align tokens: In order to use the comma character ',' as a vertical alignment token, the character must be preceded by the escaping character '\'.

Before After (":=,:" tokens)
  • Only Consecutive Lines - Controls whether vertical alignment is applied only to consecutive lines.

Before After
  • Vertical Align Single Line Comments - Controls whether single line comments are vertically aligned.

Before After
  • Vertical Align To Open Parenthesis - Controls whether to vertically align relative to open parenthesis.

Before After
  • Vertical Align Patterns

    • Constant Declarations - Controls whether to align constant declarations.

Before After
    • Port Declarations - Controls whether to align port declarations.

Before After
    • Signal Declarations - Controls whether to align signal declarations.

Before After
    • Variable Declarations - Controls whether to align variable declarations.

Before After
    • Variable, Signal, Constant Declarations - Controls whether to align variable, signal and constant declarations.

Before After