Skip to content

Commit

Permalink
SLVSCODE-951 Use a language server with core monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jblievremont committed Dec 20, 2024
1 parent 7c25357 commit 28d6315
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion its/userdir/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Enable auto import of Git repositories
"git.openRepositoryInParentFolders": "always",
// Disable SonarLint product telemetry in ITs
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true ",
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true -Dsonarlint.monitoring.disabled=true ",
"sonarlint.output.showAnalyzerLogs": true,
"sonarlint.output.showVerboseLogs": true
}
2 changes: 1 addition & 1 deletion scripts/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"groupId": "org.sonarsource.sonarlint.ls",
"artifactId": "sonarlint-language-server",
"version": "3.14.1.75775",
"version": "3.15.0.75782",
"output": "server/sonarlint-ls.jar"
},
{
Expand Down
1 change: 1 addition & 0 deletions src/lsp/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function languageServerCommand(
if (DEBUG) {
params.push('-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001,quiet=y');
params.push('-Dsonarlint.telemetry.disabled=true');
params.push('-Dsonarlint.monitoring.disabled=true');
}
const vmargs = getSonarLintConfiguration().get('ls.vmargs', '');
parseVMargs(params, vmargs);
Expand Down
2 changes: 1 addition & 1 deletion test/userdir/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
// Disable SonarLint product telemetry in ITs
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true ",
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true -Dsonarlint.monitoring.disabled=true ",
// Enable auto import of Git repositories
"git.openRepositoryInParentFolders": "always",
"sonarlint.output.showAnalyzerLogs": true,
Expand Down

0 comments on commit 28d6315

Please sign in to comment.