lsp-sonarlint icon indicating copy to clipboard operation
lsp-sonarlint copied to clipboard

C/C++ support

Open innerout opened this issue 3 years ago • 5 comments
trafficstars

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?

innerout avatar May 16 '22 16:05 innerout

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:

Sasanidas avatar Jul 29 '22 20:07 Sasanidas

I did not know it was a paid feature.

innerout avatar Jul 30 '22 12:07 innerout

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 !

f-michaut avatar Sep 13 '22 15:09 f-michaut

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.

Sasanidas avatar Sep 23 '22 16:09 Sasanidas

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

thahnen avatar Dec 21 '23 14:12 thahnen

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

Horrih avatar Jun 08 '24 23:06 Horrih

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

Sasanidas avatar Jun 28 '24 22:06 Sasanidas