-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to latest lsp for pull diagnostics #23979
Conversation
Uggh i forgot about all the tsconfig.json changes necessary for this. This might take me a bit longer. |
"source-map-support": "^0.5.12", | ||
"ts-loader": "^9.2.8", | ||
"ts-mockito": "^2.5.0", | ||
"ts-node": "^10.7.0", | ||
"tsconfig-paths-webpack-plugin": "^3.2.0", | ||
"typemoq": "^2.1.0", | ||
"typescript": "4.5.5", | ||
"typescript": "~5.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of the new way Dirk is exporting the api from the LSP client, I had to update the typescript compiler and the tsconfig.json. It's basically what caused all of these changes.
@@ -19,3 +20,7 @@ export function isNotInstalledError(error: Error): boolean { | |||
const isModuleNoInstalledError = error.message.indexOf('No module named') >= 0; | |||
return errorObj.code === 'ENOENT' || errorObj.code === 127 || isModuleNoInstalledError; | |||
} | |||
|
|||
export function untildify(path: string): string { | |||
return path.replace(/^~($|\/|\\)/, `${os.homedir()}$1`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Untilidify doesn't work so well with new typescript. Just asked copilot to generate a new one.
@karthiknadig @debonte this looks like it finally works. The root of all of these changes in the LSP client requiring a newer typescript. That rippled through a lot of dependencies. |
…o/vscode-python into rchiodo/update_latest_lsp
This is to match the latest updates we've made in pylance. See this PR: microsoft/pyrx#5590
This is to match the latest updates we've made in pylance.
See this PR:
https://github.com/microsoft/pyrx/pull/5590