Whether the vscode sonarlint plugin is adapted to analyze C/C++ code in Ubuntu

I’m not sure I fully understand your question, sorry.

In your other thread, it seems that you were using VSCode on Windows to connect to a Linux remote. If it is still the case, I suggest that we continue the discussion on the other thread to try to understand what is going on.

Otherwise, I don’t see any a priori issue with analyzing C and C++ code with SonarLint for VSCode on Ubuntu, except maybe if you are running Ubuntu on an architecture not supported by the C/C++ analyzer (e.g, ARM).

Would it be possible for you to share your compile_commands.json, as well as the contents of the SonarLint Output in VSCode?

Thanks!