MCPcopy Index your code
hub / github.com/SonarSource/sonarlint-language-server

github.com/SonarSource/sonarlint-language-server @5.5.0.78541

Chat with this repo
repository ↗ · DeepWiki ↗ · release 5.5.0.78541 ↗ · + Follow
2,123 symbols 9,837 edges 160 files 30 documented · 1% updated 2d ago5.5.0.78541 · 2026-07-05★ 106

Browse by type

Functions 1,912 Types & classes 211
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SonarLint Language Server

SonarLint language server (used by SonarLint VSCode)

Build Status Quality Gate Status

Have Question or Feedback?

For SonarLint support questions ("How do I?", "I got this error, why?", ...), please first read the FAQ and then head to the SonarSource forum. There are chances that a question similar to yours has already been answered.

Be aware that this forum is a community, so the standard pleasantries ("Hi", "Thanks", ...) are expected. And if you don't get an answer to your thread, you should sit on your hands for at least three days before bumping it. Operators are not standing by. :-)

Contributing

If you would like to see a new feature, please create a new thread in the forum "Suggest new features".

Please be aware that we are not actively looking for feature contributions. The truth is that it's extremely difficult for someone outside SonarSource to comply with our roadmap and expectations. Therefore, we typically only accept minor cosmetic changes and typo fixes.

With that in mind, if you would like to submit a code contribution, please create a pull request for this repository. Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make.

Make sure that you follow our code style and all tests are passing (Github Actions workflow is executed for each pull request).

Building

To build sources locally follow these instructions.

Build and Run Unit Tests

Execute from project base directory:

mvn verify

License

Copyright SonarSource Sàrl.

Licensed under the GNU Lesser General Public License, Version 3.0

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 1,912
Class 199
Interface 7
Enum 5

Languages

Java100%

Modules by API surface

src/main/java/org/sonarsource/sonarlint/ls/SonarLintExtendedLanguageClient.java170 symbols
src/main/java/org/sonarsource/sonarlint/ls/SonarLintExtendedLanguageServer.java167 symbols
src/test/java/org/sonarsource/sonarlint/ls/mediumtests/AbstractLanguageServerMediumTests.java100 symbols
src/main/java/org/sonarsource/sonarlint/ls/SonarLintLanguageServer.java80 symbols
src/test/java/org/sonarsource/sonarlint/ls/mediumtests/LanguageServerMediumTests.java69 symbols
src/test/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClientTests.java67 symbols
src/main/java/org/sonarsource/sonarlint/ls/backend/BackendService.java66 symbols
src/main/java/org/sonarsource/sonarlint/ls/clientapi/SonarLintVSCodeClient.java59 symbols
src/test/java/org/sonarsource/sonarlint/ls/mediumtests/ConnectedModeMediumTests.java55 symbols
src/test/java/org/sonarsource/sonarlint/ls/settings/SettingsManagerTests.java45 symbols
src/test/java/org/sonarsource/sonarlint/ls/telemetry/SonarLintTelemetryTests.java42 symbols
src/main/java/org/sonarsource/sonarlint/ls/settings/SettingsManager.java40 symbols

For agents

$ claude mcp add sonarlint-language-server \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page