Whitespace
Trim End of Line Whitespace (
DVT.textEditor.systemVerilog.formatting.whitespace.trimEndOfLineWhitespace
) - Controls whether to trim end of line whitespaces.
Before |
After |
---|---|
![]() |
![]() |
Trim Whitespace Lines (
DVT.textEditor.systemVerilog.formatting.whitespace.trimWhitespaceLines
) - Controls whether to trim lines containing only whitespaces.
Before |
After |
---|---|
![]() |
![]() |
Compact Whitespace Groups (
DVT.textEditor.systemVerilog.formatting.whitespace.compactWhitespaceGroups
) - Controls whether to compact consecutive whitespace characters. It does not affect indentation, that is the whitespace at the beginning of a line is not affected by this option.
Before |
After |
---|---|
![]() |
![]() |
- Compact Consecutive Empty Lines (
DVT.textEditor.systemVerilog.formatting.whitespace.compactConsecutiveEmptyLines
) - When enabled, consecutive empty lines are compacted into groups of lines whose number is less than or equal to a specified value. It does not affect the empty lines inside multi-line comments. Maximum Number Of Consecutive Empty Lines (
DVT.textEditor.systemVerilog.formatting.whitespace.maximumNumberOfConsecutiveEmptyLines
) - Consecutive empty lines are compacted when their number exceeds this value.
- Compact Consecutive Empty Lines (
Before |
After (Preference is set to “1”) |
---|---|
![]() |
![]() |
Add Whitespace Before (
DVT.textEditor.systemVerilog.formatting.whitespace.addWhitespaceBefore
) - List of tokens before which whitespace will be added.
Before |
After (“=” token) |
---|---|
![]() |
![]() |
Add Whitespace After (
DVT.textEditor.systemVerilog.formatting.whitespace.addWhitespaceAfter
) - List of tokens after which whitespace will be added.
Before |
After (“=” token) |
---|---|
![]() |
![]() |
Remove New Line Before (
DVT.textEditor.systemVerilog.formatting.whitespace.removeNewLineBefore
) - List of tokens before which new lines will be removed.
Before |
After (“=” token) |
---|---|
![]() |
![]() |
Remove New Line After (
DVT.textEditor.systemVerilog.formatting.whitespace.removeNewLineAfter
) - List of tokens after which new lines will be removed.
Before |
After (“=” token) |
---|---|
![]() |
![]() |