onivim / oni2

Native, lightweight modal code editor
https://v2.onivim.io
MIT License
7.83k stars 281 forks source link

provinding static analysis for C/C++ programs #3357

Open jerabaul29 opened 3 years ago

jerabaul29 commented 3 years ago

Can you update the C/C++ language support page https://onivim.github.io/docs/languages/c to provide also static analysis? That would be very useful for gently making it easier / pushing users to perform more static analysis.

It looks like there are a few tools out there for performing static analysis, and that it is often a good idea to actually run several of these tools.

What do you think is the best way for a user to proceed there / can you provide help to your users in performing static analysis of their C/C++ projects? :) .

bryphe commented 3 years ago

Hi @jerabaul29 ,

Good idea. The https://github.com/jbenden/vscode-c-cpp-flylint extension looks promising and is relatively streamlined - unfortunately it isn't on Open-VSX though (also means some manual setup for having one of the supported static analysis tools).

jerabaul29 commented 3 years ago

It looks like the extension is on OpenVSX now 😊🎉

https://github.com/jbenden/vscode-c-cpp-flylint/issues/114#issuecomment-831393820

Is it only a matter of installing it in oni2 and / or is there something extra to do?