admin管理员组

文章数量:1640596

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文件就生成可以配置了

 参考自:

VSCode C/C++无法跳转到定义问题_Joonhow的博客-CSDN博客https://blog.csdn/sinat_39564114/article/details/114265421

本文标签: disabledcommandVSCodeCCpp