emacs-lsp / lsp-sonarlint

lsp-mode :heart: sonarlint
GNU General Public License v3.0
76 stars 13 forks source link

C/C++ support #12

Closed innerout closed 1 week ago

innerout commented 2 years ago

Hi, thanks for the great plugin! Sonarlint has support for C/C++, but the plugin does not support it yet. Would it be difficult to provide this kind of support?

Sasanidas commented 1 year ago

Sorry about the response, delay, the last time that I checked the back-end for C/C++, it was in the paid version.

If you can post the link to download the java back-end file, I can add it without problems :+1:

innerout commented 1 year ago

I did not know it was a paid feature.

f-michaut commented 1 year ago

It looks like the plugin for VisualStudio is open source, and the README talks about C++: https://github.com/SonarSource/sonarlint-visualstudio

I would also love to have C++ support for this plugin !

Sasanidas commented 1 year ago

I only added some languages that were in https://binaries.sonarsource.com/?prefix=Distribution/ , which as far as I know, are open source. There is also another list in https://binaries.sonarsource.com/?prefix=CommercialDistribution/ , but I think you have to pay for those (or are propietary). So I didn't implement those.

In any case, you are free to experiment and add support for more languages, go would be a nice addition.

thahnen commented 6 months ago

For C/C++ analysis, please see #21 regarding the analyzer for it.

Horrih commented 3 weeks ago

For those stumbling on this issue, two PRs implement cfamily support, see #22 #20

Sasanidas commented 1 week ago

Merged! https://github.com/emacs-lsp/lsp-sonarlint/pull/22