在使用 deepin  +  vscode 查看linux源码时,发现比较恶心的问题,跳转到指定函数特别慢,偶尔还跳转不过去,在vscode 中安装一个插件就好了

 

1. vscode 安装插件名:C/C++ GNU Global

2. 在deepin中安装一个软件:sudo apt install global

3. 在deepin终端中使用 which global 查看global的安装路径  /usr/bin/global

4. 将这个路径配置到vscode 中 "gnuGlobal.globalExecutable": "/usr/bin/global",

这样就能愉快的跳转了

 

相关文章:

  • 2022-02-01
  • 2021-06-27
  • 2022-02-04
  • 2021-05-12
  • 2021-12-16
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-05-02
  • 2021-09-30
  • 2021-12-05
  • 2021-08-19
  • 2021-12-15
相关资源
相似解决方案