Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ node_modules/
_*.d.ts
_*.ts
python_packages/*/*/labextensions/

# local development
Makefile
.claude/
PULL_REQUEST.md
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## Changelog

### `@jupyter-lsp/jupyterlab-lsp 5.2.1` (unreleased)

- new features:
- add kernel-based Jedi fallback for jump-to-definition when LSP returns no targets ([#1096](https://github.com/jupyter-lsp/jupyterlab-lsp/issues/1096))
- enables jump-to-definition for packages installed only in kernel environment
- new `enableKernelFallback` setting (default: `true`)
- requires `jedi` package in kernel environment

### `jupyter-lsp 2.3.0`

- features:
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyterlab-lsp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupyter-lsp/jupyterlab-lsp",
"version": "5.2.0",
"version": "5.2.1",
"description": "Language Server Protocol integration for JupyterLab",
"keywords": [
"jupyter",
Expand Down
6 changes: 6 additions & 0 deletions packages/jupyterlab-lsp/schema/jump_to.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"type": "boolean",
"default": false,
"description": "Disable this feature. Requires reloading JupyterLab to apply changes."
},
"enableKernelFallback": {
"title": "Enable kernel fallback",
"type": "boolean",
"default": true,
"description": "When LSP returns no jump targets, use Jedi in the kernel environment as a fallback. This enables jump-to-definition for packages installed in the kernel but not in JupyterLab's environment. Requires Jedi to be installed in the kernel."
}
},
"jupyter.lab.shortcuts": [
Expand Down
Loading