project -> properties ->c/c++ General -->indexer 选中“Enable project specific settings" ,再在 Build configuration for indexer 选"Use active build configuration"
再选中项目,点鼠标右键,index-->rebuild
project -> properties ->c/c++ General -->code Analysis 去掉Syntax and Semantic Errors
VSCode C++索引配置
本文介绍如何在VSCode中为C++项目正确配置索引功能,包括启用项目特定设置、选择活动构建配置以及重建索引的过程。此外还提到了代码分析中排除语法和语义错误的方法。
3679

被折叠的 条评论
为什么被折叠?



