Skip to content

jump back does not work #1103

Open
Open
@YongcaiHuang

Description

Description

jump back command does not work in notebook across different cells. It works in .py file but not in ipynb

script.mp4
notebook.mp4

Reproduce

  • create variable or function in a cell
  • write the created variable or function in another cell
  • jump to definition (works)
  • jump back (does not work)

Expected behavior

successfully jump back to previous location across different cells

Context

  • Operating System and version: macOS Sequoia 15.0.1
  • Browser and version: edge 130.0.2849.56
  • JupyterLab version: 4.3.0
  • Language server and version: 5.1.0
Required: installed server extensions
    jupyter_lsp enabled
    - Validating jupyter_lsp...
      jupyter_lsp 2.2.5 OK
    jupyter_resource_usage enabled
    - Validating jupyter_resource_usage...
      jupyter_resource_usage 1.1.0 OK
    jupyter_server_terminals enabled
    - Validating jupyter_server_terminals...
      jupyter_server_terminals 0.5.3 OK
    jupyterlab_spellchecker enabled
    - Validating jupyterlab_spellchecker...
      jupyterlab_spellchecker 0.8.4 OK
    jupyterlab enabled
    - Validating jupyterlab...
      jupyterlab 4.3.0 OK
    jupyterlab_code_formatter enabled
    - Validating jupyterlab_code_formatter...
      jupyterlab_code_formatter 3.0.2 OK
    jupyterlab_jupytext enabled
    - Validating jupyterlab_jupytext...
Extension package jupyterlab_jupytext took 0.1096s to import
      jupyterlab_jupytext  OK
    nbclassic enabled
    - Validating nbclassic...
A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
      nbclassic 1.1.0 OK
    notebook_shim enabled
    - Validating notebook_shim...
      notebook_shim  OK
    panel.io.jupyter_server_extension enabled
    - Validating panel.io.jupyter_server_extension...
Extension package panel.io.jupyter_server_extension took 0.4300s to import
      panel.io.jupyter_server_extension  OK
    voila.server_extension enabled
    - Validating voila.server_extension...
      voila.server_extension  OK
Required: installed lab extensions
        jupyterlab-jupytext v1.4.3 enabled OK (python, jupytext)
        jupyterlab-rainbow-brackets v0.1.0 enabled OK (python, jupyterlab_rainbow_brackets)
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        jupyter-matplotlib v0.11.4 enabled OK
        spreadsheet-editor v0.7.2 enabled OK (python, jupyterlab-spreadsheet-editor)
        jupyterlab-execute-time v3.2.0 enabled OK (python, jupyterlab_execute_time)
        jupyterlabcodetoc v4.0.1 enabled OK (python, jupyterlabcodetoc)
        jupyterlab_code_formatter v3.0.2 enabled OK (python, jupyterlab_code_formatter)
        jupyterlab-cell-flash v0.4.0 enabled OK (python, jupyterlab-cell-flash)
        @jupyter-server/resource-usage v1.1.0 enabled OK (python, jupyter-resource-usage)
        @bokeh/jupyter_bokeh v4.0.5 enabled OK (python, jupyter_bokeh)
        @pyviz/jupyterlab_pyviz v3.0.3 enabled OK
        @jupyter-lsp/jupyterlab-lsp v5.1.0 enabled OK (python, jupyterlab-lsp)
        @jupyterlab-contrib/spellchecker v0.8.4 enabled OK (python, jupyterlab-spellchecker)
        @lckr/jupyterlab_variableinspector v3.2.4 enabled  X (python, lckr_jupyterlab_variableinspector)
        @voila-dashboards/jupyterlab-preview v2.3.8 enabled OK (python, voila)
        @jupyter-widgets/jupyterlab-manager v5.0.13 enabled OK (python, jupyterlab_widgets)
        @ouyangde1/jupyterlab-spreadsheet v0.4.2 enabled OK

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