Skip to content

Commit 639b893

Browse files
committed
Add "insert code cell" to editor action bar
1 parent 355803f commit 639b893

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

apps/vscode/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,13 @@
296296
},
297297
{
298298
"command": "quarto.insertCodeCell",
299+
"icon": "$(insert)",
299300
"title": "Insert Code Cell",
300-
"category": "Quarto"
301+
"category": "Quarto",
302+
"actionBarOptions": {
303+
"controlType": "button",
304+
"displayTitle": true
305+
}
301306
},
302307
{
303308
"command": "quarto.runSelection",
@@ -651,6 +656,13 @@
651656
"group": "1_editor_mode"
652657
}
653658
],
659+
"editor/actions/right": [
660+
{
661+
"command": "quarto.insertCodeCell",
662+
"when": "editorLangId == quarto",
663+
"group": "2_execute"
664+
}
665+
],
654666
"editor/context": [
655667
{
656668
"command": "quarto.formatCell",

0 commit comments

Comments
 (0)