VHDL-Tool provides a language server for the VHDL hardware description language. This plugin makes VHDL-Tool's language server interface available from within VSCode.
To use this plugin, you must first download VHDL-Tool. See the requirements section.
Features
Syntax checking
Go to definition
Find references
Browse file symbols
Basic autocompletion
Type information on hover
Screenshots
Usage
F12 - go to definition
Ctrl-Shift-F10 - peek definition
Shift-F12 - find references
Ctrl-Shift-o - find symbol in current file
Syntax checking occurs on save and the first time a file is opened
Autocompletion happens automatically when you type
Mouse over an identifier for type information
Requirements
Before using this plugin, you must ensure that the vhdl-tool binary is installed on your system. To install vhdl-tool and setup your environment, do the following:
Install this plugin.
Download vhdl-tool from here. If you are using the Linux version, make sure it has execute permissions, and put it somewhere in your $PATH.
Create a vhdltool-config.yaml configuration file for your project by following the instructions here.
Install one of the other VHDL plugins available in the marketplace for syntax highlighting. Search for VHDL in the extensions sidebar. This step is compulsory as these plugins define the VHDL language and if VSCode does not know about VHDL it cannot launch the language server.
Launch VSCode and open the folder containing the configuration file created in the previous step.
Known Limitations
The go to definition and find references commands are not accurate in the presence of overloading. In the case of multiple overloaded identifiers with the same name, the type correct one may not be chosen.
Release Notes
0.0.9
Incorporate changes in reference example
0.0.8
Upgrade plugin dependencies so that it works with the latest VSCode