Inactive Code Highlight

DVT editor marks the inactive code (i.e. code that is not compiled due to ifdef / ifndef) with a colored background.

You can enable or disable the highlight using the DVT.textEditor.systemVerilog.highlight.enableInactiveCodeHighlight setting accessible using Preferences: Open Settings (UI) command. Furthermore, you can change the color of the highlight using the DVT.textEditor.systemVerilog.highlight.lightThemeColor and DVT.textEditor.systemVerilog.highlight.darkThemeColor preferences.

../../_images/inactive_code_highlight.gif