Indentation
- Then (
DVT.textEditor.vHDL.formatting.indentation.then
) - Controls the placement ofthen
: Leave as is (1)
On a new line (2) -
then
is moved on a new lineOn the same line (3) -
then
is moved on the same line with its construct
- Then (
Initial code |
Leave as is (1) |
On a new line (2) |
On the same line (3) |
---|---|---|---|
- Parameters (
DVT.textEditor.vHDL.formatting.indentation.parameters
) - Controls the placement ofport
,generic
,map
,function
andprocedure
elements: Leave as is (1)
One per line (open parenthesis on the same line) (2) - Each parameter/argument is placed on its 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) (3) - Each parameter/argument is placed on its own line and the open parentheses is placed on the next line after the parameter/argument receiver
Enable More Parameters Per Line If Less Than (
DVT.textEditor.vHDL.formatting.indentation.enableMoreParametersPerLineIfLessThan
) - It controls whether to place parameters on the same line when their number does not exceed a specified value. This option is available only when the Parameters preference is set to One per line (open parenthesis on the same line) or One per line (open parenthesis on the next line).More Parameters Per Line If Less Than (
DVT.textEditor.vHDL.formatting.indentation.moreParametersPerLineIfLessThan
) - Parameters are placed on the same line if their number does not exceed this value.More per line (4) - More parameters are placed on the same line
- Parameters (
Note
When more parameters get to be placed on a single line and line wrapping is enabled, the parameters may be moved to separate lines as needed to fit within the specified line width.
Initial code & Leave as is (1) |
More per line (4) |
---|---|
Initial code |
One per line (open parenthesis on the next line) (3) |
One per line (open parenthesis on the next line) (3) and More per line if less than set to “5” |
One per line (open parenthesis on the next line) (3) and More per line if less than set to “1” |
---|---|---|---|
Do Not Indent Single Line Comments At Beginning Of Line (
DVT.textEditor.vHDL.formatting.indentation.doNotIndentSingleLineCommentsAtBeginningOfLine
) - Controls whether to indent single line comments starting at the beginning of a line.
Before |
After |
---|---|
Indent Multi Line Comments (
DVT.textEditor.vHDL.formatting.indentation.indentMultiLineComments
) - Controls whether to indent multi-line comments.
Before |
After |
---|---|
Ignore Lines Starting With (
DVT.textEditor.vHDL.formatting.indentation.ignoreLinesStartingWith
) - List of line prefixes matching lines that will be ignored while indenting.
Before |
After |
---|---|
No Indent Keywords (
DVT.textEditor.vHDL.formatting.indentation.noIndentKeywords
) - Selection of language keywords that will not increase indentation.
Before |
After |
---|---|