Visual Studio Code plugin for VHDL-Tool

VHDL Tool bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
.vscode bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
images bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
src bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
test bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
.gitignore bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
.vscodeignore bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
README.md bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
package.json bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
tsconfig.json bf70a8aad8 Initial Visual Studio Code plugin 2 years ago
vhdltool-wrapper.sh bf70a8aad8 Initial Visual Studio Code plugin 2 years ago

README.md

VHDL-Tool

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: http://git.vhdltool.com/vhdl-tool/vhdltool-vscode.

For now, only Linux is supported.

Features

  • Syntax checking
  • Go to definition
  • Find references
  • Browse file symbols
  • Basic autocompletion

Screenshots

Syntax check and autocompletion File symbols and hover

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

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:

  1. Install this plugin.
  2. Download the vhdl-tool binary from here, make sure it has execute permissions, and put it somewhere in your $PATH.
  3. Create a vhdltool-config.yaml configuration file for your project by following the instructions here.
  4. 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.
  5. 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.
  • No VHDL 2008 support yet.

Release Notes

0.0.1

Initial beta release of VHDL-Tool.