Adds Verilog and SystemVerilog support for Zed.
- Treesitter based syntax highlighting
- Diagnostics
- Auto-completion
- Hover documentation
- Formatting (format-on-save is disabled by default)
- Open Zed
- Open the command palette
- Enter
zed: extensions - Search for
Verilogusing the search bar on the extensions page. - Press
Installand the language servers will automatically be downloaded.
This extension has three language servers: Verible, Veridian, and slang-server. By default, only Verible and Veridian are enabled due to slang-server being relatively new and having issues on Windows. To enable slang-server, add the following to your settings file:
"languages": {
"SystemVerilog": {
"language_servers": ["..."]
}
}Configuration for this extension is done in two places. First is by adding "SystemVerilog" your settings file and using the language settings.
Secondly, you can configure the veridian language server by creating a veridian.yml file in your project root and using the settings documented here.
Note
Since this extension doesn't use the verible language server through veridian, verible specific settings in veridian.yml will not work.
This project is licensed under the Apache-2.0 license or the MIT license, at your option. See COPYRIGHT for more details.