![]() However, opening a single file, and Ctrl+Shift+S-ing will lead to the successful analysis of this file.Īnother thing worth noting is that SonarCloud correctly detects all the relevant header files. When I Ctrl+Shift+S on a directory, the same header files will not be included unless I have them open in my IDE. ![]() I have tried resetting the IDE through all the steps of “Repair IDE” as well with no success. hpp in the files, the codebase is inconsistent with file naming, they are all C++). There are maybe 200 header files distributed amongst many folder, so opening all of them is not exactly feasible. For example, opening the dg_base.hpp will lead to it being correctly included in the analysis. ![]() One way for SonarLint to be able to include them is to open the file in the IDE. cpp files on the other hand are correctly included in the analysis.Īll my files are C++ code. When using Analyze All Project Files using Sonar Lint, many of my header files are not included in the analysis due to compiler kind not found error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |