UNPKG

@jupyter-lsp/jupyterlab-lsp

Version:

Language Server Protocol integration for JupyterLab

45 lines (44 loc) 1.51 kB
{ "jupyter.lab.setting-icon": "lsp:jump-to", "jupyter.lab.setting-icon-label": "Language integration", "title": "Code Jump", "description": "Code Jump", "type": "object", "properties": { "modifierKey": { "title": "Modifier key", "type": "string", "enum": ["Alt", "Control", "Shift", "Meta", "AltGraph", "Accel"], "default": "Alt", "description": "Keyboard key which needs to be pressed with click to jump. The allowed keys are Alt, Control, Shift, Accel, and AltGraph. Accel corresponds to Control or Meta (Command on Mac). Linux user: Meta key is also supported. Safari users: Meta key is also supported, AltGraph is not supported. To see which physical keys are mapped, visit: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState" }, "disable": { "title": "Disable", "type": "boolean", "default": false, "description": "Disable this feature. Requires reloading JupyterLab to apply changes." } }, "jupyter.lab.shortcuts": [ { "command": "lsp:jump-to-definition", "keys": ["Accel B"], "selector": ".jp-Notebook .jp-CodeCell" }, { "command": "lsp:jump-back", "keys": ["Alt O"], "selector": ".jp-Notebook .jp-CodeCell" }, { "command": "lsp:jump-to-definition", "keys": ["Accel B"], "selector": ".jp-FileEditor" }, { "command": "lsp:jump-back", "keys": ["Alt O"], "selector": ".jp-FileEditor" } ] }