Questions tagged [sonarlint-vs]

SonarLint for Visual Studio is an extension that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.

SonarLint for Visual Studio is an extension that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.

More can be found at http://www.sonarlint.org/visualstudio/index.html

© 2008-2015, SonarSource S.A, Switzerland

67 questions
1
vote
0 answers

SonarLint plugin misses some (SonarCloud's) rules locally

TL;DR -> Force code smells to apear as SonarCloud issues on IDE I got SonarLint plugin (vscode) installed locally and configured with external SonarCloud rules (by my organization's project). The thing is even though it is well configured, some…
1
vote
0 answers

Sonarlint not working in visual studio code

I have installed sonarlint plugin in visual studio code but I am getting this error I have set the java environment variable and created a sample java file which is working fine. I can't figure out where is the issue. Kindly help me to sort out…
Pravin
  • 441
  • 2
  • 8
  • 26
1
vote
0 answers

SonarLint for Visual Studio showing http 403 error

We have a self-signed certificate for our SonarQube site. Certificate is issued on domain name. Tools Version 1. SonarQube - 6.3 2. Visual Studio - 2015 3. SonarLint - 4.3.0.3718 Steps done for installing Certificate: 1. Copied the certificate and…
1
vote
0 answers

How to publish sonarqube scanned reports to multiple SonarQube Instances..?

I have two SonarQube Instances one is 6.1 Developers Edition and the other one is 6.7 LTS version. I want to publish the scanned results to two Sonar Instances. How can i achieve this..? Regards, Sandeep
1
vote
1 answer

SonarLint Binding Error since Version 2.8.0.214 - Project Count out of Range?

I am facing an error while binding a Solution to my SonarQube Projects. I am using VS 2015 Update 3, SonarLint 2.8.0.214 and SonarQube 5.6. Also the Update on already bound Projects fails. I guess this has something to do with the new SonarLint…
1
vote
1 answer

Sonarqube code analysis using SonarLint for Visual studio 2015

I have successfully installed sonarlint into visual studio 2015 but not able to bind project with sonarlint, I also dont know that how to use sonarlint. plz help
Heena Patel
  • 105
  • 1
  • 4
  • 14
1
vote
1 answer

Generate HTML issues reports from Sonarlint commandline for C# projects

I'm trying to generate HTML issues report for my C# projects using Sonarlint for the command line. After downloading and following instruction from Sonarlint command line page, I still can't generate c# reports (even when I copied c# plugin to…
Củ Su Hào
  • 372
  • 6
  • 15
1
vote
1 answer

SonarQube MSBuild scanner: How to exclude C# files with fxcop issues

When excluding C# files in SonarQube, fxcop issues are still listed for these excluded files. We tried different ways to exclude the C# files, in the SonarQube server settings, but also in the ms project files, like this:
Lothar May
  • 13
  • 3
1
vote
1 answer

Unable to bind ASP.NET 5 / Core 1.0 project with SonarLint

When using SonarLint for Visual Studio 2.1, the "Bind" option is disabled when there is only an ASP.NET 5 / Core 1.0 project (.xproj) in the solution. Is this project type supported? If it is not yet supported, when will it be?
Evan Mulawski
  • 54,662
  • 15
  • 117
  • 144
1
vote
1 answer

SonarLint greatly slows down Visual Studio 2015

I recently switched to Visual Studio 2015 (Community Edition) and installed SonarLint, hoping to synchronize my code analyzation settings with my Sonarqube. However, after installing the SonarLint integration in Visual Studio, I experienced a heavy…
Eisenhorn
  • 1,702
  • 1
  • 13
  • 20
0
votes
1 answer

Error in sonarqube configuration using command prompt

wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Error: Could not create the Java Virtual Machine. jvm 1 | Error: A fatal exception has occurred. Program will exit. jvm 1 | Unrecognized option:…
0
votes
1 answer

getting error in SonarLint configuration using Visual Studio

The following error occurs when trying to launch SonarQube: C:\sonarqube-9.5.0.56709\bin\windows-x86-64>startsonar wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Error: Could not create the Java Virtual…
Shiv kumar K
  • 159
  • 8
0
votes
0 answers

Sonarlint for Visual Studio Code is not displaying anything for Java after binding

I am trying to get SonarLint (v2.0.0) configured with VS Code (v1.57.0) connected to a SonarQube server (v8.1). Java Runtime (JRE) 8 is installed on my computer. I have configured the workspace and user settings in VS Code as below: User…
Zain Khan
  • 3,753
  • 3
  • 31
  • 54
0
votes
2 answers

Simplify ternary operator

I want to set the variable notEmpty to true or false with a ternary operator, but my VSCode sonarlint marks it underlined in blue with the comment: Simplify this expression Code: const notEmpty = list.length > 0 ? true : false; This actually works,…
0
votes
1 answer

Solve this error message : please double check the project key and sonar url

I want to use Sonar Lint plugin in VS Code to scan and analyse the Type Script code in Angular project. I installed Sonar Lint plugin version 1.15.0 and added this conf inside the settings.json file…
Mahmoud
  • 325
  • 10
  • 25