Skip to content

Commit 839b644

Browse files
committed
Update to latest LS client (v8.0.0) and server (v8.0.0). (#19113)
* Update to latest LSP * Fix compilation issues. * add news
1 parent 7f7baf0 commit 839b644

File tree

4 files changed

+51
-48
lines changed

4 files changed

+51
-48
lines changed

news/1 Enhancements/19114.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update to latest LS client (v8.0.0) and server (v8.0.0).

package-lock.json

Lines changed: 43 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,10 +1796,10 @@
17961796
"vscode-debugadapter": "^1.28.0",
17971797
"vscode-debugprotocol": "^1.28.0",
17981798
"vscode-extension-telemetry": "0.4.5",
1799-
"vscode-jsonrpc": "8.0.0-next.8",
1800-
"vscode-languageclient": "8.0.0-next.18",
1801-
"vscode-languageserver": "8.0.0-next.14",
1802-
"vscode-languageserver-protocol": "3.17.0-next.20",
1799+
"vscode-jsonrpc": "8.0.0",
1800+
"vscode-languageclient": "8.0.0",
1801+
"vscode-languageserver": "8.0.0",
1802+
"vscode-languageserver-protocol": "3.17.0",
18031803
"vscode-tas-client": "^0.1.22",
18041804
"winreg": "^1.2.4",
18051805
"xml2js": "^0.4.19"

src/client/activation/languageClientMiddlewareBase.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ export class LanguageClientMiddlewareBase implements Middleware {
8383
// value as though it were in the user's settings.json file.
8484
// As this is for backwards compatibility, `ConfigService.pythonPath`
8585
// can be considered as active interpreter path.
86-
const settingDict: LSPObject = settings[i] as LSPObject;
86+
const settingDict: LSPObject & { pythonPath: string; _envPYTHONPATH: string } = settings[
87+
i
88+
] as LSPObject & { pythonPath: string; _envPYTHONPATH: string };
8789
settingDict.pythonPath = configService.getSettings(uri).pythonPath;
8890

8991
const env = await envService.getEnvironmentVariables(uri);

0 commit comments

Comments
 (0)