Ctrl+Shift+P 打开主命令框
输入: C/C++: Edit configurations (UI)
找到Compile command设置
输入:
${workspaceFolder}/build/compile_commands.json
Ctrl+Shift+P 打开主命令框
输入: C/C++: Edit configurations (UI)
找到Compile command设置
输入:
${workspaceFolder}/build/compile_commands.json