DVT IDE for VS Code SystemVerilog User Guide
Rev. 22.1.36, 22 November 2022

19.1 Whitespace

  • Trim End of Line Whitespace - Controls whether to trim end of line whitespaces.

  • Trim Whitespace Lines - Controls whether to trim lines containing only whitespaces.

  • Compact Whitespace Groups - 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.

  • Tabs and Spaces - Lines are indented using tabs or spaces depending on how the following preferences from File > Preferences > Settings > Text Editor > Editor are configured:

    • The Insert Spaces option controls if the indentation will use space characters or tabs.

    • The Tab Size option controls the size of a tab in spaces.

  • Add Whitespace Before - List of tokens before which whitespace will be added.

  • Add Whitespace After - List of tokens after which whitespace will be added.

  • Remove New Line Before - List of tokens before which new lines will be removed.

  • Remove New Line After - List of tokens after which new lines will be removed.