Skip to content

Kernel-based autocomplete doesn't work for editors with an attached kernel #629

@sntgluca

Description

@sntgluca

Description

Hi,
following up with #586, I noticed that disabling LSP completion removes autocompletion in the editor even if a console is attached.
Without the jupyter-lsp package, it's possible to attach a console to the editor to get kernel-base completion for it. Although it's not the best user experience, it gets the job done. I'd expect this feature to be maintained if

"disableCompletionsFrom": ["LSP"]

is used.

Reproduce

  1. Disable LSP autocomplete in Advanced Settings -> Code Completion
{"disableCompletionsFrom": ["LSP"]}
  1. Open a python file in the editor
  2. Right-click -> Create Console for Editor
  3. Type and try autocompleting any statement -> nothing happens.

Expected behavior

I'd expect autocomplete to work for editors with a kernel attached.

Version

Tested on JupyterLab 3.0.18 and juptyer-lsp 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions