Skip to content

Path autocompletion is not added correctly #1119

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

Closed
trungleduc opened this issue Apr 2, 2025 · 0 comments · Fixed by jupyterlab/jupyterlab#17477
Closed

Path autocompletion is not added correctly #1119

trungleduc opened this issue Apr 2, 2025 · 0 comments · Fixed by jupyterlab/jupyterlab#17477

Comments

@trungleduc
Copy link
Member

Description

When accepting a path completion, the existing prefix is not taken into account

  • LSP Autocompletion
lsp1.mp4
  • Kernel Autocompletion
kernel-completer.mp4

Reproduce

As in the screencast

Expected behavior

LSP Auto completer should work like the kernel one.

Context

JupyterLab 4.3.5

jupyterlab-lsp 5.1.0

  • Operating System and version:
  • Browser and version:
  • JupyterLab version:
  • Language server and version:
Required: installed server extensions
Paste the output from running `jupyter server extension list` from the command line here.
You may want to sanitize the paths in the output.
Required: installed lab extensions
Paste the output from running `jupyter labextension list` from the command line here.
You may want to sanitize the paths in the output.
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output (recommended for all interface issues)
Paste the output from your browser JavaScript console replacing the text in here.

To learn how to open the developer tools in your browser:
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools#How_to_open_the_devtools_in_your_browser
If too many messages accumulated after many hours of working in JupyterLab,
consider refreshing the window and then reproducing the bug to reduce the noise in the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant