Skip to content

Commit

Permalink
SLI-1848 Add back SonarLint in the User-Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
nquinquenel committed Feb 5, 2025
1 parent 193c8a5 commit bc8379f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/sonarlint/intellij/core/BackendService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,13 @@ class BackendService : Disposable {
val jsTsRequirements = JsTsRequirementsDto(nodeJsPath, eslintBridgePath)
val workDir = Paths.get(PathManager.getTempPath()).resolve("sonarlint")
val omnisharpRequirementsDto = generateOmnisharpDto()
// e.g. IntelliJ IDEA 2024.3.2
val host = "${ApplicationInfo.getInstance().versionName} ${ApplicationInfo.getInstance().fullVersion}"
return rpcServer.initialize(
InitializeParams(
ClientConstantInfoDto(
ApplicationInfo.getInstance().versionName,
"SonarQube for IDE " + getService(SonarLintPlugin::class.java).version
"SonarQube for IDE (SonarLint) - IntelliJ ${getService(SonarLintPlugin::class.java).version} - $host"
),
getTelemetryConstantAttributes(),
getHttpConfiguration(),
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@

<change-notes><![CDATA[
<ul>
<li>10.16.1 - Fix of an internal compatibility issue with SonarQube Server</li>
<li>10.16 - Support analysis of Ansible files. Improve performance by analyzing focused files only. Fixed an issue where SonarQube for IDE would appear as a Java program in the menu bar on macOS. Fixed a noisy error that could happen when opening a project.</li>
<li>10.15 - 1 new QuickFix for Java. Fix of a performance regression on Python. Fix a noisy log error. Avoid symbol errors on CLion. Bug fixes, fewer FPs and improvements for many languages.</li>
<li>10.14.1 - Fix unwanted loading bar appearance for computing branch information. Fix connection issue for SonarQube Server versions 10.0 - 10.4.</li>
Expand Down

0 comments on commit bc8379f

Please sign in to comment.