Skip to content

Jupyter Lab: go-to-def does not work on some dependencies (No Jump targets found) #1429

@yangdanny97

Description

@yangdanny97

Describe the Bug

Repro:

  • pip install jupyterlab jupyter-lsp jupyterlab-lsp pandas pyrefly
  • verify that Pyrefly is running in the bottom left, and select Pyrefly if it's not automatically turned on
  • add from pandas import read_csv to the first cell
  • put cursor on read-csv, right click, go to def
  • "No Jump Targets Found"
  • Server logs show "Handling non-canceled request textDocument/definition (154)" but the response is empty

Note that go-to-def on matplotlib functions seem to work correctly now (see #1045)

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverIssues specific to our IDE integration rather than type checkingnotebook

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions