I’m using Visual Studio 2022 with C++. How can I disable the SonarLint warnings for specific cpp files?
The only setting I found is to disable SonarLint for the whole project.
welcome to the Sonar Community!
Excluding specific files/folders from analysis is not currently possible in SonarLint for Visual Studio, and there is already a feature request open in this forum, feel free to upvote it.
To better understand your request, may I ask why you’d like to exclude some cpp files?
I’m using a C++ library (Dear ImGui) and SonarLint shows thousand of warning about it.
So I need a way to exclude this library’s source file from the analysis
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.