Skip to content

Auto-complete issue related to file paths #241

@ProblemFactory

Description

@ProblemFactory

Description

When using jupyterlab-lsp, the file path autocomplete in str stops working. Also, sometimes it will automatically add useless .ipynb_checkpoints.

Reproduce

Issue 1:

  1. type '/' (including quote) in any notebook's code cell
  2. then press TAB after /.
  3. Nothing happens.

Issue 2:

  1. Go to any cell, type in the following code:
from scipy.io import loadmat
data = loadmat('/path/to/some/.mat/file')[0]
  1. type . after [0]
  2. ipynb_checkpoints will be appended after . symbol.

Expected behavior

Issue 1:
A list of files/folders should pop out for selection.

Issue 2:
Nothing should happen or a valid completion.

Context

  • Operating System and version: Windows 10 Pro x64 Version 1909
  • Browser and version: Chrome 80.0.3987.149
  • JupyterLab version: 2.0.1
  • jupyter-lsp version: 0.8.0
  • @krassowski/jupyterlab-lsp version: 1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions