DVT IDE for VS Code VHDL User Guide
Rev. 24.1.4, 28 February 2024

Chapter 18. Inactive Generates Code Highlight

DVT editor marks the unelaborated generate code (i.e. generate branches that are inactive) with a colored background.

You can enable or disable the highlight using the DVT.textEditor.highlight.enableInactiveGenerateBranchesHighlight setting accessible using "Preferences: Open Settings (UI)" command. Furthermore, you can change the color of the highlight using the DVT.textEditor.highlight.inactiveGenerateBranchesLightThemeColor and DVT.textEditor.highlight.inactiveGenerateBranchesDarkThemeColor preferences.

Note: The inactive generates code depends on the editor current design instance path shown in the Design Breadcrumb. You have the option to change the instance path, and therefore the highlight, using the dvt.designBreadcrumbNavigation command.