-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Environment
- OS and Version: Windows/Linux/Mac
- VS Code Version: 1.96.4
- C/C++ Extension Version: 1.23.4(pre-release)
- 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

Configuration and Logs
/Other Extensions
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status