Line Wrapping

When enabled, this option splits the lines of code that exceed the specified number of characters.

  • Line Width (ro.amiq.vhdldt/format.line_wrap.threshold) - A line is wrapped when it exceeds this value.

Before

After

../../_images/before-line-wrap-line-width-vhdl.png
../../_images/after-line-wrap-line-width-vhdl.png
  • Wrap single line comments and move above when needed (ro.amiq.vhdldt/format.line_wrap.sl_comments) - When enabled, if a single line comment exceeds the line width, it will be moved above and further wrapped, if needed. It is moved above in order not to break the association between an entity and it’s description. DVT automatically considers any comment above or in-line with an entity as it’s description that appears in tooltips, auto-complete or generated documentation.

Before

After

../../_images/before-wrap-single-line-comments-vhdl.png
../../_images/after-wrap-single-line-comments-vhdl.png
  • Wrap multi line comments (ro.amiq.vhdldt/format.line_wrap.ml_comments) - When enabled, multi line comments are wrapped to fit the line width.

Before

After

../../_images/before-wrap-multi-line-comments-vhdl.png
../../_images/after-wrap-multi-line-comments-vhdl.png