Hello @Divya - welcome to the community.
There are a couple of reasons you won’t see all of the server-side C/C++ issues in the IDE.
- there are a number of C/C++ rules that are not run in the IDE due to technical constraints (namely that they need to analyse the full project rather than a single file, which is not supported in the IDE).
If you look in the SonarLint output window you will see a message like the following:
Note: the following CFamily rules are not available in SonarLint: cpp:S5536, c:S5536, cpp:S4830, c:S4830, cpp:S5527, c:S5527, cpp:S5801, c:S5801, cpp:S5814, c:S5814, cpp:S5815, c:S5815, cpp:S5816, c:S5816, cpp:S5824, c:S5824, cpp:S2612, c:S2612, cpp:S5802, c:S5802, cpp:S5849, c:S5849, cpp:S5982, c:S5982, cpp:S5813, c:S5813, cpp:S5332, c:S5332, cpp:S2068, c:S2068, cpp:S2245, c:S2245, cpp:S5443, c:S5443, cpp:S5042, c:S5042, cpp:S4790, c:S4790, cpp:S1313, c:S1313, cpp:S6069, c:S6069
- the analysis in the IDE is executed when a file is opened or saved, so you will only see issues for open files.