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

14.6 Disable Format for Code Sections

When format is disabled, a code section is completely ignored, that is it is not formatted, nor it contributes to formatting.

  • Disable format for a code section - code sections between the @formatter:off and @formatter:on pragmas are not formatted.

Initial code Code Formatted without "on"/"off" pragmas Code Formatted with "on"/"off" pragmas
  • Disable format for a single line - lines containing the @fomatter:skip pragma inside a comment are not formatted.

Initial code Code Formatted without skip pragma Code Formatted with skip pragma