linux出现以下错误是因为设置有问题
This command is disabled because "C_Cpp.intelliSenseEngine" is set to "Disabled".
需要更改设置,首先按F1(或者按Ctrl+P并输入>),输入sync,鼠标点击show settings或者使用方向键选择show settings
点击edit int Settings.json
检查"C_Cpp.intelliSenseEngine"是否为“Default”,如果为“Disable”则改成“Default”。
重启vscode,此时按F1输入edit config,选择edit configurations(json)
此时c_cpp_properties.json文件就生成可以配置了
参考自: