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.
**This is beta quality code. Report bugs here: https://git.vhdltool.com/vhdl-tool/vhdl-tool/issues.
To use this plugin, you must first download VHDL-Tool. See the requirements section.
For now, only Linux is supported.
- Syntax checking
- Go to definition
- Find references
- Browse file symbols
- Basic autocompletion
- Type information on hover
- 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
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 the
vhdl-tool binary from here, 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.
- 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.
- VHDL-2008 is only partially supported.
Initial beta release of VHDL-Tool.