Skip to content

Commit

Permalink
show restart kernel button in notebook toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Donham committed Apr 15, 2024
1 parent 28206aa commit 2fb1f7b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,19 @@
{
"title": "Restart Kernel",
"command": "vitale.restartKernel",
"category": "Vitale"
"category": "Vitale",
"icon": "$(refresh)"
}
],
"menus": {
"notebook/toolbar": [
{
"command": "vitale.restartKernel",
"group": "navigation",
"when": "notebookType == 'vitale-notebook'"
}
]
},
"notebooks": [
{
"type": "vitale-notebook",
Expand Down

0 comments on commit 2fb1f7b

Please sign in to comment.