Is there something similar to clangd Include Cleaner? #13311
-
Inside vscode-cpptools is there a tool similar to clangd Include Cleaner? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@escherstair Yeah, you can try running the code analysis feature which runs clang-tidy (e.g. right-click Run Code Analysis on Active File), but you need to make sure |
Beta Was this translation helpful? Give feedback.
-
Hi @sean-mcmanus
Is it possible including/excluding each warning independently? |
Beta Was this translation helpful? Give feedback.
@escherstair Yeah, you can try running the code analysis feature which runs clang-tidy (e.g. right-click Run Code Analysis on Active File), but you need to make sure
misc-include-cleaner
is set as an enabled clang-tidy check (e.g. C_Cpp.codeAnalysis.clangTidy.checks.enabled).