Linters
What is SonarLint? An introduction to Sonar's editor extension for real-time code feedback
SonarLint is an editor extension that gives developers real-time feedback on bugs and security vulnerabilities while they write code. It is now called SonarQube for IDE, and it pairs each finding with guidance and quick fixes. It brings analysis, fix guidance and security issue detection into the editor.
- Tool
- SonarLint
- Made by
- Sonar
- Official site
- sonarsource.com/products/sonarlint
- Category
- Linters
Who makes SonarLint
SonarLint is made by Sonar. The product is now called SonarQube for IDE, so you may see both names in documentation, marketplaces and older articles. They refer to the same tool.
The official website is linked below this article.
Official website: sonarsource.com/products/sonarlint
What SonarLint is for
SonarLint is for catching problems in code at the moment they are written, instead of after a commit or a pipeline run. It analyzes code inside the editor and reports bugs, code smells, vulnerabilities and security hotspots, and it supports the latest language standards.
Each finding comes with context. The extension explains why an issue is harmful and how to fix it, which turns a warning into something a developer can act on straight away. It applies this to both AI-generated and human-written code, so the same checks cover code regardless of where it came from.
Who SonarLint is for
Sonar states that the tool is for developers of all skill levels, development teams, and teams using AI coding tools. The stated aim is to help developers of all skill levels make better coding decisions.
Because the explanations include risks, rule details and code examples, the in-editor guidance can serve developers who are still learning a rule as well as those who only need a reminder. Teams can also link the extension to central projects, which is covered below.
Notable capabilities
SonarLint combines analysis with explanation and repair, and it works across a wide range of editors and languages. These are the capabilities documented for the tool:
- Real-time analysis of more than 20 languages, with more languages such as COBOL, Apex and PL/SQL available in Connected Mode. Coverage also includes frameworks and infrastructure-as-code platforms.
- Detection of bugs, code smells, vulnerabilities and security hotspots as you type.
- Contextual help in the editor, including explanations, risks, rule details and code examples.
- Diff views, quick fixes and AI-generated fixes for reported issues.
- A focus-on-new-code setting that filters the issue list to problems introduced in the current development cycle.
- Connected Mode, which links the IDE to SonarQube Server or SonarQube Cloud so local analysis uses the same rules and policies as central projects. When connected, rules and quality gates synchronize to the IDE for both human contributors and AI agents.
- Support for Visual Studio, VS Code, Eclipse and the JetBrains IDE family, plus AI-native editors built on the VS Code architecture.
- Support for cloud-based IDEs such as GitHub Codespaces and GitPod.
How SonarLint fits linters
Linters traditionally run close to the developer, checking source files for mistakes and risky patterns before the code moves further along. SonarLint follows that pattern in the editor, where feedback arrives while the code is still open in front of you. Its coverage goes beyond style checks to include security vulnerabilities and security hotspots, alongside bugs and code smells.
In the wider landscape of linters, static analysis and code quality, SonarLint sits at the individual developer's end. Through Connected Mode it can also be tied to SonarQube Server or SonarQube Cloud, so the rules and quality gates that apply to a central project are the ones applied in the editor. That link lets a developer see the same standards locally that the team applies centrally, for human contributors and AI agents alike.
Frequently asked questions
What is SonarLint used for?
SonarLint is used to get real-time feedback on bugs, code smells, vulnerabilities and security hotspots while writing code in an editor. It explains each issue and offers quick fixes.
Is SonarLint the same as SonarQube for IDE?
Yes. SonarQube for IDE was formerly known as SonarLint, and the name SonarLint now refers to the same extension.
Which editors does SonarLint support?
It supports Visual Studio, VS Code, Eclipse and the JetBrains IDE family. It also works in AI-native editors built on the VS Code architecture and in cloud-based IDEs such as GitHub Codespaces and GitPod.
Does SonarLint support COBOL, Apex and PL/SQL?
Those languages are available in Connected Mode, which links the IDE to SonarQube Server or SonarQube Cloud. Without Connected Mode, the extension analyzes more than 20 languages in real time.
Who develops SonarLint?
SonarLint is developed by Sonar. Its current name is SonarQube for IDE.
Linthelm is independent and is not affiliated with Sonar. Product names belong to their owners. Features change; confirm details on the official website.