Skip to content
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

Normalize Windows path to fix jump to definition with Pyright #1024

Merged
merged 1 commit into from Nov 26, 2023

Conversation

krassowski
Copy link
Member

References

This might fix #1005

Code changes

Normalize the path in uriToContentsPath before checking whether to remove server root prefix.

User-facing changes

Jump to definition for files in root dir should work on Windows with Pyright.

Backwards-incompatible changes

None

Copy link

Binder 👈 Launch a binder notebook on branch krassowski/jupyterlab-lsp/normalize-win

@krassowski krassowski merged commit 663f187 into jupyter-lsp:main Nov 26, 2023
17 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant