File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 448
448
"enablement" : " editorLangId == quarto" ,
449
449
"actionBarOptions" : {
450
450
"controlType" : " checkbox" ,
451
- "checked" : " ((activeCustomEditorId == ' quarto.visualEditor' || quarto. editor.type == quarto) && quarto.editor.renderOnSave) || ((activeCustomEditorId == ' quarto.visualEditor' || quarto. editor.type == 'quarto-shiny') && quarto.editor.renderOnSaveShiny)"
451
+ "checked" : " (quarto.editor.type == quarto && quarto.editor.renderOnSave) || (quarto.editor.type == 'quarto-shiny' && quarto.editor.renderOnSaveShiny)"
452
452
}
453
453
},
454
454
{
634
634
}
635
635
],
636
636
"menus" : {
637
- "editor/actions/right" : [
637
+ "editor/actions/left" : [
638
+ {
639
+ "command" : " quarto.preview" ,
640
+ "when" : " editorLangId == quarto || editorLangId == markdown || activeCustomEditorId == 'quarto.visualEditor'" ,
641
+ "group" : " 0_preview"
642
+ },
638
643
{
639
644
"command" : " quarto.toggleRenderOnSave" ,
640
- "when" : " (activeCustomEditorId == ' quarto.visualEditor' || editorLangId == quarto) && (quarto.editor.type == quarto || quarto.editor.type == 'quarto-shiny') " ,
641
- "group" : " Quarto "
645
+ "when" : " editorLangId == quarto || editorLangId == markdown || activeCustomEditorId == 'quarto.visualEditor' " ,
646
+ "group" : " 0_preview "
642
647
},
643
648
{
644
649
"command" : " quarto.toggleEditMode" ,
645
- "when" : " (activeCustomEditorId == ' quarto.visualEditor' || editorLangId == quarto) && (quarto.editor.type == quarto || quarto.editor.type == 'quarto-shiny') " ,
646
- "group" : " Quarto "
650
+ "when" : " editorLangId == quarto || editorLangId == markdown || activeCustomEditorId == 'quarto.visualEditor' " ,
651
+ "group" : " 1_editor_mode "
647
652
}
648
653
],
649
654
"editor/context" : [
You can’t perform that action at this time.
0 commit comments