DVT VHDL IDE User Guide
Rev. 23.2.28, 28 November 2023

12.3 Indentation

  • then - This option affects the then keyword placement:

    • Leave as is

    • 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

Initial code Leave as is On a new line On the same line
  • Parameters - This option affects port, generic, map, function and procedure elements:

    • Leave as is

    • 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

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
  • Don't indent single line comments at first column - This option affects single line comments that start at column zero. It is useful to disable the indentation for whole regions of code that are block commented, for example by using Ctrl + /. When enabled, single line comments that start at column zero are not indented.

Before After
  • Indent multi-line comments - This option affects multi-line comments ( /* ... */). When enabled, multi-line comments are indented.

Before After
  • Ignore lines starting with- Space separated list of line prefixes. A line starting with one of the prefixes is completely ignored, that is it is not indented, nor it contributes to indentation.

Before After
  • Don't increase the indent level on - By default all scope language constructs increase indentation. This option allows you to control which language constructs should increase indentation.

Before After