v0.3.0
Added
-
The diagnostic messages published for a source file now include:
- undeclared identifiers (disable with
diagnostics.undeclared_identifiers = false
), - unconnected input ports of a module instance (disable with
diagnostics.unconnected_ports = false
), - ports missing from a module instance (disable with
diagnostics.missing_ports = false
), - parameters missing from a module instance (enable with
diagnostics.missing_parameters = true
); and - unassigned parameters, e.g.
.WIDTH()
(disable withdiagnostics.unassigned_parameters = false
).
- undeclared identifiers (disable with
-
Enable hover requests for module instantiations.
-
Module completions, inserting an instantiation of the selected module.
-
The define
VLS
is always present when the language server processes a file.
Add code that should only be seen by the language server by using`ifdef VLS ... `endif
.
Hide code from the the language server by using`ifndef VLS ... `endif
.
Changed
- Require Nim v1.4.0.
- Diagnostic messages are no longer shown for Verilog header files (
.vh
).
Fixed
- Fix always listing the parameters declared in the module body in completion
requests. According to the standard, these should only get included if the
parameter port list is omitted. - Fix
textDocument/rename
when targeting an external port identifier in a
list of ports. - Fix
textDocument/references
not including identifiers from the port
reference (in the list of ports) when targeting the port identifier from
within the module body. - Fix not showing named port and parameter completion suggestions when the dot
was immediately followed by e.g. a left parenthesis)
.