You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The “Code Analysis Mode” remains “Automatic“ after unchecking the “C_Cpp.codeAnalysis.clangTidy.enabled” option #13240
If using SSH remote, specify OS of remote machine: NA
Bug Summary and Steps to Reproduce
Bug Summary: The “Code Analysis Mode” remains “Automatic“ after unchecking the “C_Cpp.codeAnalysis.clangTidy.enabled” option
Steps to reproduce:
Open a .cpp file, then observe 'Code Analysis Mode’ in Language Status Bar UI.
Checking 'C_Cpp.codeAnalysis.clangTidy.enabled' option in Settings UI, then return to .cpp file and observe 'Code Analysis Mode’.
Unchecking ‘C_Cpp.codeAnalysis.clangTidy.enabled’ option in Settings UI, then return to .cpp file and observe 'Code Analysis Mode’.
Expected behavior: ‘Code Analysis Mode‘ become Manual directly after unchecking the ‘C_Cpp.codeAnalysis.clangTidy.enabled’ option without reopening the project
Actual behavior:
After checking 'C_Cpp.codeAnalysis.clangTidy.enabled' option, 'Code Analysis Mode' changes from Manual -> Automatic Note: The 'C_Cpp.codeAnalysis.clangTidy.enabled' option is unchecked by default, so when first time open the project, the 'Code Analysis Mode' displays Manual by default
After unchecking the ‘C_Cpp.codeAnalysis.clangTidy.enabled’ option, the ‘Code Analysis Mode’ still displays “Automatic” and doesn’t change from Automatic -> Manual Note: The 'Code Analysis Mode’ option will change from Automatic -> Manual only after reopening the project
Activity
sean-mcmanus commentedon Mar 7, 2025
Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.24.2
v-ericawu commentedon Mar 12, 2025
Verified on C/C++ extension 1.24.2(pre-release), this issue has been fixed:
