Skip to content

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

Closed as not planned

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

Activity

  1. added theissue type on Oct 30, 2025
  2. changed the title [-]Jupyter Lab: go-to-def does not work on some dependencies[/-] [+]Jupyter Lab: go-to-def does not work on some dependencies (No Jump targets found)[/+] on Nov 15, 2025
  3. added
    language-serverIssues specific to our IDE integration rather than type checking
    on Nov 15, 2025
  4. Carreau commented on Mar 5, 2026

    @Carreau

    I cannot reproduce; this might be due to something similar to #1585 ; if the location of the pandas install is outside the directories the Jupyter server has access to;

    Doing a read_csv? to see where the kernel sees read_csv may help figuring out what is happening.

    Server logs show "Handling non-canceled request textDocument/definition (154)" but the response is empty

    This seem to come from pyrefly itself; but beyond this I am not sure what could be happening.

  5. yangdanny97 commented on Mar 13, 2026

    @yangdanny97
    CollaboratorAuthor

    This specific error no longer reproduces, but now I get the .lsp_symlink error in #1585 even on third-party dependencies

    .lsp_symlink/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/pyplot.py

  6. Carreau commented on Mar 16, 2026

    @Carreau

    Ok, thanks for checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions