Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion apps/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,13 @@
},
{
"command": "quarto.insertCodeCell",
"icon": "$(insert)",
"title": "Insert Code Cell",
"category": "Quarto"
"category": "Quarto",
"actionBarOptions": {
"controlType": "button",
"displayTitle": true
}
},
{
"command": "quarto.runSelection",
Expand Down Expand Up @@ -651,6 +656,13 @@
"group": "1_editor_mode"
}
],
"editor/actions/right": [
{
"command": "quarto.insertCodeCell",
"when": "editorLangId == quarto",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this in the Visual Editor (it has its own bar that includes inserting a code cell) or markdown files (executable code cells don't do anything in .md).

"group": "2_execute"
}
],
"editor/context": [
{
"command": "quarto.formatCell",
Expand Down