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

Re-register native completion providers when LSP completion is disabled #1036

Merged
merged 4 commits into from
Jan 17, 2024

Conversation

krassowski
Copy link
Member

References

Fixes jupyterlab/jupyterlab#15649

Code changes

Adds a new @jupyter-lsp/jupyterlab-lsp:completion-fallback plugin which checks whether @jupyter-lsp/jupyterlab-lsp:completion was disabled by probing whether an optional token from it is available; if it sees our custom completion disabled it re-registers the native completion providers.

User-facing changes

When LSP completion is disabled (by disabling plugin or by using the "disable" option) the native completer will still work.

Backwards-incompatible changes

None

@krassowski krassowski added the bug Something isn't working label Jan 17, 2024
Copy link

Binder 👈 Launch a binder notebook on branch krassowski/jupyterlab-lsp/fix-disabling-completion

@krassowski krassowski force-pushed the fix-disabling-completion branch from 99f8263 to a7c7576 Compare January 17, 2024 14:39
@krassowski krassowski merged commit 1f1ddca into jupyter-lsp:main Jan 17, 2024
17 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing jupyterlab-lsp and jupyter-lsp breaks the completer plugin
1 participant