VScode 标签跳转功能

1.先安装C++intellisence
将智能感知安装到目标平台中
2.安装global
sudo apt install global
global --version
3.在工程目录根目录执行命令
gtag
4.配置VScode user setting json 添加以下文件:
"codegnuglobal.executable": "/usr/local/bin/global",
"codegnuglobal.autoupdate": false
5.配置 c_cpp_properties.json 添加以下配置:
"compileCommands": "${workspaceFolder}/build/compile_commands.json"

posted @ 2022-04-19 15:06  迦洛德影歌  阅读(389)  评论(0)    收藏  举报