一、从官网下载安装VScode
Download Visual Studio Code - Mac, Linux, Windows
![](https://file.jishuzhan.net/article/1757426222381404162/875b6c019c6fe0dbb95624b3632d7546.webp)
二、安装配置插件
1. 安装Chinese(simplified)中文汉化包
![](https://file.jishuzhan.net/article/1757426222381404162/a9eb83e4a590a78f6f57f4d6c1566d3a.webp)
2.安装Verilog-HDL/systemVerilog插件(支持verilog语法)
![](https://file.jishuzhan.net/article/1757426222381404162/c191969237cf0b16e386dbc377ead9d7.webp)
3.配置CTags Support插件(支持代码跳转)
1)在github下载universal ctags最新版本
Release 2024-02-05/p6.1.20240204.0-14-g96f9a1c · universal-ctags/ctags-win32 · GitHub
![](https://file.jishuzhan.net/article/1757426222381404162/35b113b649575275eef6bdb29fed2fb6.webp)
2)解压至相应文件夹
![](https://file.jishuzhan.net/article/1757426222381404162/a1c8362e4b60b87430277c660cdc52d1.webp)
3)配置环境变量
![](https://file.jishuzhan.net/article/1757426222381404162/75121de18aebd39c36e8a0d18fcf4307.webp)
4)配置插件
![](https://file.jishuzhan.net/article/1757426222381404162/8df6a34bd6b998df1ee62bc50c1c133e.webp)
5)在终端,输入ctags --version测试安装是否成功
![](https://file.jishuzhan.net/article/1757426222381404162/fb546e0832880b23209920c587e12293.webp)
6)文件间跳转功能
使用该插件时,只能进行本文件内的变量跳转(按F12),
如果想跳转到其他文件,则会发现未找的xxx模块的任何定义。
![](https://file.jishuzhan.net/article/1757426222381404162/a78ad50ba5b80d6653960efa5c8a7f78.webp)
此时,需要在代码工作区文件夹,打开终端,输入如下指令 ctags -R -f .tags
![](https://file.jishuzhan.net/article/1757426222381404162/7f43e1db317f527f6669b876e2a939c1.webp)
![](https://file.jishuzhan.net/article/1757426222381404162/9cbe1d3951af76a36df93e1ff0dc2050.webp)
![](https://file.jishuzhan.net/article/1757426222381404162/c0a3c9aef9dc09b60dd4bd1881f6148c.webp)
此后,即可通过按ctrl + T 跳转至其它文件,通过ALT+ ← 返回上一位置。或者通过ctrl+shift+t返回跳转历史。
三、语法检测配置(xilinx xvlog)
![](https://file.jishuzhan.net/article/1757426222381404162/c64f129b40a6ceac74b14c74954643ba.webp)