@jupyterlab/shortcuts-extension
Advanced tools
Changelog
See the JupyterLab 2.1 milestone on GitHub for the full list of pull requests and issues closed.
blacklist and whitelist support <extension_listings>
for the
extension manager
(#7989)Added a context menu item for opening a Markdown editor from the Markdown preview (#7942)
Added a command to replace the selection in an editor with text (inserting if there is no selection). This can be assigned a keyboard shortcut, as shown below. We also added a command to go through a series of commands and run the first enabled command. (#7908) Here is a keyboard shortcut to insert text in a currently-active notebook editor:
{
command: "notebook:replace-selection",
selector: ".jp-Notebook",
keys: ["Ctrl L"],
args: {text: "lambda x: x"}
}
Here is a keyboard shortcut to insert text into an editor of the currently active console, file editor, or notebook:
{
command: "apputils:run-first-enabled",
selector: "body",
keys: ["Ctrl L"],
args: {
commands: [
"console:replace-selection",
"fileeditor:replace-selection",
"notebook:replace-selection",
],
args: {text: "lambda x: x"}
}
}
NotebookWidgetFactory
is now a plugin so it can be overridden
(#8066,
#7996)LabIcon
: work with all SVG loaders, improve
performance, fix issue with menus from extensions
(#8125)data-jp-suppress-context-menu
attribute
(#7877,
#7670).yarnrc
configuration with
the Python package
(#8045)