-
v0.65.0
released this
2026-11-19 03:03:41 -08:00 | 31 commits to master since this releaseModule instantiation syntax highlighting
(
docs/features/instantiation-highlighting; TODO §69.)- Every part of a module instantiation gets its own colour. Module names,
instance names,.PARAMoverrides,.portnames and connected signals used
to collapse to the same default foreground colour whenever the instantiated
module lived in another file or a theme left bare semantic tokens unstyled.
The language server now layers AST-guided semantic token overrides (and
cross-fileExternalResolutionslookups) over the existing 14-type legend:- Module / interface names (
uart_core,pkg::uart_corewithpkgas
namespace, and lonebindtargets) highlight asclass. #and parameters share one colour (parameter), distinct from():
the#introducing a module, class,extends, instantiation or
parameterized-type parameter list, every.PARAMoverride (.and name),
and parameter values inside#(...)all carryparameter. Delay#
tokens (#5,#(1:2:3)) are left unemitted.- Instance names (
u_uart, gate instances,bindinstance lists, and
hierarchical uses likeu_uart.sig) highlight asfunction. - Port names (
.clk_idot and name, implicit.rst_ni, and wildcard
.*), including unfinished entries being typed, highlight asproperty. - Port connections (
clk,data_q) stayvariableso signals keep one
consistent colour across the file.
- Module / interface names (
- VS Code: semantic highlighting on by default with theme-safe scope maps.
configurationDefaultsenableseditor.semanticHighlighting.enabledfor
[verilog]and[systemverilog](user settings still win), and
contributes.semanticTokenScopesmaps the language's semantic token types to
distinct TextMate scopes so every role renders in colour across Dark+, Dark
Modern, Light+, GitHub Dark, One Dark Pro and Visual Studio Dark.
Downloads
- Every part of a module instantiation gets its own colour. Module names,