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

14.3 Indentation

  • Then - Controls the placement of `then`:

    • On a new line - then is moved on a new line

    • On the same line - then is moved on the same line with it's construct

    • Leave as is

Initial code Leave as is On a new line On the same line
  • Parameters - Controls the placement of port, generic, map, function and procedure elements:

    • One per line (open parenthesis on the same line) - each parameter/argument is placed on it's own line and the open parentheses is placed on the same line with the parameter/argument receiver

    • One per line (open parenthesis on the next line) - each parameter/argument is placed on it's own line and the open parentheses is placed on the next line after the parameter/argument receiver

    • More per line - more are placed on the same line, as fit when line wrapping is enabled

    • Leave as is

Initial code & Leave as is One per line (open parenthesis on the same line) One per line (open parenthesis on the next line) More per line
  • Do Not Indent Single Line Comments At Beginning Of Line - Controls whether to indent single line comments starting at the beginning of a line.

Before After
  • Indent Multi Line Comments - Controls whether to indent multi-line comments.

Before After
  • Ignore Lines Starting With - List of line prefixes matching lines that will be ignored while indenting.

Before After
  • No Indent Keywords - Selection of language keywords that will not increase indentation.

Before After