Contact us Start a Trial

Code lenses

Code lenses provide you with shortcuts to contextual actions, right inside the editor. For example, instead of going through the context menu to set an architecture as Design Hierarchy Top, you can now simply click Set as Design Hierarchy Top.

Code Lens in VS Code

Every code lens can be toggled on or off individually by changing one of the following settings:

Code LensSettingDefault
Export Compilation Ordersigasi.editor.codeLens.exportCompilationOrder
Export Documentationsigasi.editor.codeLens.exportDocumentation
File is not part of any librarysigasi.editor.codeLens.fileIsNotPartOfAnyLibrary
Open Block Diagramsigasi.editor.codeLens.openBlockDiagram
Open Class Hierarchysigasi.editor.codeLens.openClassHierarchy
Open State Machines Diagramsigasi.editor.codeLens.openStateMachinesDiagram
Open UVM Diagramsigasi.editor.codeLens.openUvmDiagram
Set as Design Hierarchy Topsigasi.editor.codeLens.setAsDesignHierarchyTop
Set as UVM Topology Rootsigasi.editor.codeLens.setAsUvmTopologyRoot

Code lenses can also be disabled entirely by toggling the editor.codeLens setting.