Ensure Active File is Highlighted in Books Viewlet (#9338)

* Add Reveal in Books editor tab context option

* Select item in books viewlet automatically

* changes

* easier than i thought it'd be

* Merge from Feat/create book

* Undo Merge from Feat/create book

* Use fsPath instead of path

* PR comments

* Fix tests

Co-authored-by: Maddy <12754347+MaddyDev@users.noreply.github.com>
This commit is contained in:
Chris LaFreniere
2020-03-05 23:43:22 -08:00
committed by GitHub
parent 34a7340a18
commit 0a9a0d3f46
10 changed files with 98 additions and 23 deletions

View File

@@ -145,6 +145,11 @@
"title": "%title.PreviewLocalizedBook%",
"category": "%books-preview-category%"
},
{
"command": "notebook.command.revealInBooksViewlet",
"title": "%title.revealInBooksViewlet%",
"category": "%books-preview-category%"
},
{
"command": "notebook.command.saveBook",
"title": "%title.saveJupyterBook%",
@@ -282,6 +287,10 @@
{
"command": "notebook.command.searchUntitledBook",
"when": "false"
},
{
"command": "notebook.command.revealInBooksViewlet",
"when": "false"
}
],
"touchBar": [