Skip to content

Commit 28d6315

Browse files
committed
SLVSCODE-951 Use a language server with core monitoring
1 parent 7c25357 commit 28d6315

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

its/userdir/User/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Enable auto import of Git repositories
1515
"git.openRepositoryInParentFolders": "always",
1616
// Disable SonarLint product telemetry in ITs
17-
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true ",
17+
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true -Dsonarlint.monitoring.disabled=true ",
1818
"sonarlint.output.showAnalyzerLogs": true,
1919
"sonarlint.output.showVerboseLogs": true
2020
}

scripts/dependencies.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"groupId": "org.sonarsource.sonarlint.ls",
44
"artifactId": "sonarlint-language-server",
5-
"version": "3.14.1.75775",
5+
"version": "3.15.0.75782",
66
"output": "server/sonarlint-ls.jar"
77
},
88
{

src/lsp/server.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export function languageServerCommand(
2626
if (DEBUG) {
2727
params.push('-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001,quiet=y');
2828
params.push('-Dsonarlint.telemetry.disabled=true');
29+
params.push('-Dsonarlint.monitoring.disabled=true');
2930
}
3031
const vmargs = getSonarLintConfiguration().get('ls.vmargs', '');
3132
parseVMargs(params, vmargs);

test/userdir/User/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"editor.suggestSelection": "first",
1313
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
1414
// Disable SonarLint product telemetry in ITs
15-
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true ",
15+
"sonarlint.ls.vmargs": " -Dsonarlint.telemetry.disabled=true -Dsonarlint.monitoring.disabled=true ",
1616
// Enable auto import of Git repositories
1717
"git.openRepositoryInParentFolders": "always",
1818
"sonarlint.output.showAnalyzerLogs": true,

0 commit comments

Comments
 (0)