在使用VIVADO时一般不喜欢用原有的开发文档,相对于notepad++而言,vs code目前更加的受欢迎。
但是百度找到的添加vivado的方式会卡死,再打开vivado后会出现n个code的进程,从而导致系统卡死。
主要以这两种为代表:
C:/Program Files/Microsoft VS Code/Code.exe -g [file name]
C:/Program Files/Microsoft VS Code/Code.exe -g [file name]:[line number]
上述两种都会让原来的卡死:
经过不断的尝试,发现贴吧大神给的代码没有这个问题,亲测有效:
cmd /S /k "code -g [file name]:[line number]"
参考