Go to definition extension for JupyterLab
Jump to definition of a variable or function in JupyterLab notebook and file editor.
Use Alt + click to jump to a definition using your mouse, or Ctrl + Alt + B keyboard-only alternative.
You can replace the key modifier for mouse click from Alt to Control, Shift, Meta or AltGraph in the settings.
The plugin is language-agnostic, though optimized for Python. Better support for other languages is planned (PRs welcome).
Prerequisites
- JupyterLab
Installation
jupyter labextension install @krassowski/jupyterlab_go_to_definition
Development
For a development install (requires npm version 4 or later), do the following in the repository directory:
npm install
npm run build
jupyter labextension link .
To rebuild the package and the JupyterLab app:
npm run build
jupyter lab build