facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.8k stars 2k forks source link

Is Adding a C++ Infer Port to the VSCode Plugin on the Roadmap? #1791

Open 25077667 opened 10 months ago

25077667 commented 10 months ago

Just like to title.

Sorry for not providing any example.

shankkyy commented 9 months ago

Hii @25077667 can you please explain the issue again I would like to contribute on this

25077667 commented 9 months ago

Hii @25077667 can you please explain the issue again I would like to contribute on this

Certainly. I'd like to enable the "infer" feature in Visual Studio Code (VSCode) for on-the-fly coding assistance. This entails having the "infer" functionality seamlessly integrated with the Language Server Protocol (LSP) in the background service. This setup allows for real-time code checking, ensuring prompt identification of any potential bugs as I write code in VSCode.

shankkyy commented 9 months ago

open your project on which you have to do real time check then check for the extensions for the specific language extensions you are going to work on andInstall Linter/Static Analyzer.

LSP Integration:

Most modern language extensions in VS Code use LSP for real-time code analysis. LSP handles communication between VS Code and language servers, which can provide code suggestions, linting, and error checking. You usually don't need to configure LSP manually if you've installed the appropriate language extension.

Enable Real-Time Code Checking hope so this answer might help you