Questions tagged [sonarlint-eclipse]

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

SonarLint for Eclipse 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/eclipse/index.html

© 2008-2015, SonarSource S.A, Switzerland

103 questions
0
votes
1 answer

How to build SonarLint source code using Maven?

I am trying to build sonar lint for eclipse for development purpose and adding a new language. I made some changes but I am not able to generate a zip file which I can locally install in eclipse as a plugin. I have tried mvn clean package : Not…
Nagendra Singh
  • 577
  • 1
  • 7
  • 24
0
votes
0 answers

Sonarlint option is not showing in the eclipse for checking the particular Java file

Recently I have installed sonar lint into the eclipse. I have facing the below problem. Can you please someone suggests and guide me what is wrong from my side. Problem: SolarList is successfully installed at the first place. I do the right click on…
Anand Natarajan
  • 127
  • 1
  • 6
0
votes
1 answer

Sonarlint Violations for Guava Suppliers used with Memoize

I am using Guava Suppliers to memoize and reload some data after fixed time some in my class. Recently sonarlint started generating warning with message such as 'Java 8 features should be preferred to Guava (squid:S4738)'. Can anyone tell me i can…
vaibhavvc1092
  • 3,067
  • 4
  • 19
  • 26
0
votes
0 answers

Sonarlint Eclipse - List of Deactivated Rules

I'm working with Sonarlint in Eclipse. I see how I can activate/deactivate rules. How can I obtain a list of all the rules that I deactivated in Eclipse? I don't see where the Sonarlint plugin is storing them. Note, I can't copy anything from…
Mr Smith
  • 3,318
  • 9
  • 47
  • 85
0
votes
1 answer

SonarLint for Eclipse cannot bind project: can return only the first 10000 results

Unable to update data from server 'sonarqube server url' Error 400 on sonarqube server url/api/rules/search.protobuf?f=repo,name,severity,lang,htmlDesc,htmlNote,internalKey,isTemplate,templateKey,actives&statuses=BETA,DEPRECATED,READY&p=21&ps=500:…
0
votes
2 answers

SonarLint: Replace this lambda with a method reference

I have a collection that contains a list of errors. I wanted to group these by a key (UUID UserId). For this I have copied the code from this answer: https://stackoverflow.com/a/30202075/4045364 Collection filterErrors = new…
Rence
  • 2,900
  • 2
  • 23
  • 40
0
votes
1 answer

Java - SonarLint Detect the Blocker - Close this "PreparedStatement" in a "finally" clause

Title : Java - SonarLint Detect the Blocker - Close this "PreparedStatement" in a "finally" clause. Question : I have multiple PreparedStatement in one method (example), then I have done close the PreparedStatement but the first line ( //…
fndong
  • 81
  • 2
  • 11
0
votes
2 answers

Best way to close the socket and streams

In eclipse in one of the classes SonarLint and sonarqube server saying socket is not closed, even I closed it. FYR: What is the best way to close the socket? Could anyone please guide me. Note: I don't get this error if I don't have out = new…
HimaaS
  • 413
  • 3
  • 6
  • 13
0
votes
0 answers

SonarLint for Eclipse Oxygen : Not able to see SonarQube server tab

I tried all possible way to view SonarQube Server tab, but couldn't get succeed with same. Tried all below: Window -> Show View -> Other -> SonarLint Show View Snapshot Right Click on Project -> SonarLint -> Analyse Refer Snapshot Can anybody…
0
votes
1 answer

Can SonarLint be run on JDK 5,6, or 7?

I am trying to install SonarLint for Eclipse Ganymede (3.4.2) - and our project is very old, so we're using JDK 1.5 here. So is it possible to run SonarLint for JDK 5?
0
votes
0 answers

SonarLint 3.2.0 is not showing any Analysis report for C++ code

I have installed SonarLint 3.2.0 plugin in Eclipse(Version: Neon.3 (4.6.3)).I have Java version 8. I have Eclipse CDT(C++).I have written a sample C++ program.From SonarLint I have bound my sample C++ project to a SonarQube project in a remote…
0
votes
0 answers

SonarQube shows issue closed but issue still persists

SonarQube server automatically labeled issues as closed but viewing a particular analyzed java file shows that the issue is still present in the code base as seen on SonarQube server. There is a separate environment that does have the change. The…
BenDavid
  • 134
  • 4
  • 17
0
votes
0 answers

Sonarlint (3.1)/SonarQube(5.6.6) on Eclipse (neon) not checking Java files

I have a workspace that I want to analyze with my rules configured on the SonarQube server. The code in the workspace is not in any code repository (so far). So I installed SonarLint(3.1) in Eclipse(neon3 but same issues in edit: neon2), but did not…
0
votes
1 answer

Sonarqube web browser is missing in Eclipse sonar plugin 3.5

"Sonarqube web browser" option is missing in sonar plugin 3.5 which is installed in eclipse Neon. And the option is available in sonar plugin 3.4 but the analysis is not successful through eclipse Neon. How to get the option ? Can anyone please help…
sangeetha kannan
  • 125
  • 1
  • 11
0
votes
1 answer

Using SonarLint in eclipse

I am trying to learn how to use SonarLint plugin in Eclipse. I downloaded the plugin and I have 4 views in my Eclipse now - SonarLint on the Fly, SonarLint Report, SonarLint Rule Description, SonarQube Servers. In the SonarLint on the Fly, I am able…
user3845894
  • 353
  • 1
  • 5
  • 17