Open jerabaul29 opened 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).
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?
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.
cppcheck seems to be well established, and has a VSC extension: https://github.com/danmar/cppcheck and https://github.com/VioletGiraffe/cppcheck-vs-addin
seems like clang also has a static analyzer: https://clang-analyzer.llvm.org/ not sure if it has a VSC extension though, but do you think it would still be possible to integrate?
there is one more VSC extension that seems to make several static analyzers available: https://github.com/jbenden/vscode-c-cpp-flylint
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? :) .