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.

../../_images/vhdldt_inactive_generate_block.png

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.