File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 4040 "group" : " navigation"
4141 }
4242 ],
43- "CustomEditorOutlineActionMenu " : [
43+ "customEditor/outline/toolbar " : [
4444 {
4545 "command" : " myExtension.deleteElement" ,
4646 "group" : " inline" ,
5353 },
5454 {
5555 "command" : " myExtension.renameElement" ,
56+ "group" : " inline" ,
57+ "when" : " customEditorOutlineItem == element"
58+ },
59+ {
60+ "command" : " myExtension.renameElement" ,
61+ "when" : " customEditorOutlineItem == element"
62+ }
63+ ],
64+ "customEditor/outline/context" : [
65+ {
66+ "command" : " myExtension.renameElement" ,
67+ "when" : " true"
68+ },
69+ {
70+ "command" : " myExtension.deleteElement" ,
5671 "when" : " customEditorOutlineItem == element"
5772 }
5873 ]
7893 },
7994 {
8095 "command" : " myExtension.renameElement" ,
81- "title" : " Rename Element"
96+ "title" : " Rename Element" ,
97+ "icon" : " resources/dark/editor.svg"
8298 }
8399 ],
84100 "customEditors" : [
You can’t perform that action at this time.
0 commit comments