add open book command to open any book from local sys (#8632)

* add open book command to open any book from local sys

* no-floating promises

* moved all the loc strings to common loc file

* typos
This commit is contained in:
Maddy
2019-12-18 09:08:52 -08:00
committed by GitHub
parent 30d9e9c141
commit a67e3abb4c
7 changed files with 88 additions and 39 deletions

View File

@@ -171,6 +171,15 @@
"dark": "resources/dark/search_inverse.svg",
"light": "resources/light/search.svg"
}
},
{
"command": "notebook.command.openBook",
"title": "%title.openJupyterBook%",
"category": "%books-preview-category%",
"icon": {
"dark": "resources/dark/open_notebook_inverse.svg",
"light": "resources/light/open_notebook.svg"
}
}
],
"languages": [
@@ -312,6 +321,13 @@
"group": "inline"
}
],
"view/title": [
{
"command": "notebook.command.openBook",
"when": "view == bookTreeView",
"group": "navigation"
}
],
"notebook/toolbar": [
{
"command": "jupyter.cmd.managePackages",