This is a simple tool to setup formatter, linter, snippets and other useful things for Vivado Verilog on VS Code.
- Download zip version of VS Code from https://code.visualstudio.com/download
- Extract the content to preferred folder
- Clone or download the repo
- copy helper_windows folder to the folder mentioned in 2.
- run Start.bat in helper_windows folder and follow the instructions
- You need to have Vivado installed and specify its linter program path(xvlog.bat) to make linter works.
- Note that everytime you want to use VS code, you should still run Start.bat instead of Code.exe.
- With extensions created by mshr-h and IsaacT, we can have formatter, snippets, and other features work.
- However, we requires some extra tools to let it work, like clang, iStyle formatter, and so on.
- This repo grabs all files needed (except xvlog.bat, which will be at
<vivado install path>/bin
) and have a small script to setup a portable environment for VS Code