Skip to content

Commit b45f12e

Browse files
authored
Add "insert code cell" to editor action bar (#709)
* Add "insert code cell" to editor action bar * Update CHANGELOG
1 parent 0447832 commit b45f12e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

apps/vscode/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Language server temporary files are now permanently deleted, bypassing the trash can (<https://github.com/quarto-dev/quarto/pull/714>).
66
- Change controls on Positron editor action bar and fix "Render on Save" behavior (<https://github.com/quarto-dev/quarto/pull/706>).
7+
- Add additional new control ("Insert Code Cell") to Positron editor action bar (<https://github.com/quarto-dev/quarto/pull/709>).
78
- Turn off completions in visual mode in Positron, as a temporary stopgap until we can invest more in LSP features in the visual editor (<https://github.com/quarto-dev/quarto/pull/710>).
89

910
## 1.121.0 (Release on 2025-05-02)

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)