hello,
What are the steps to integrate sonarlint in VScode?
hello,
What are the steps to integrate sonarlint in VScode?
Hello, thanks for asking! (I took the liberty to move your help request to a separate post in the appropriate category and remove the duplicate post).
The first step is to install the extension. The easiest way is to use VSCode’s built-in “Extensions” view:
If this doesn’t work, you can also install SonarLint’s manually using the VSIX file
Once SonarLint is installed, you should see:
sonarlint(rule:id)
tag in the problems viewYou will also notice a new “SonarLint” category in the “Settings”, with a short description of how each property affects SonarLint’s behavior:
I hope this helps with the very first steps.
Please feel free to ask if you need further assistance on specific topics
hey can u share the steps for visual studio as well?
also, can u pls mention the minimum version of various IDE’s like eclipse,vscode and visual studio for which sonarlint will be supported?
Many thanks
The current situation (mid-June 2020) on supported IDE versions is:
I don’t have Visual Studio installed on my box right now, but I believe the installation experience is quite similar.
Additionally, the wiki has some documentation on how to configure SonarLint for Visual Studio.
it should through the catch block non complaint sonarlint issue
Hello, it looks like your code has a syntax error at line 10. SonarLint’s Java analyzer won’t report issues on files it cannot parse.
A post was split to a new topic: How to integrate custom Apex rules (PMD)
Hi @padma_priyakantipaka,
Did you manage to visualize the Sonarlist alerts in the VSCode? I just started that adventure and I’m in the same problem, if you share me your results please.
@ j4v13r
Please do not bump 1-year-old topics, especially when you already opened a new topic.