Skip to content

Commit 5cbd4fa

Browse files
committed
test icons
1 parent 5e11cee commit 5cbd4fa

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

package.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"group": "navigation"
4141
}
4242
],
43-
"CustomEditorOutlineActionMenu": [
43+
"customEditor/outline/toolbar": [
4444
{
4545
"command": "myExtension.deleteElement",
4646
"group": "inline",
@@ -53,6 +53,21 @@
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
]
@@ -78,7 +93,8 @@
7893
},
7994
{
8095
"command": "myExtension.renameElement",
81-
"title": "Rename Element"
96+
"title": "Rename Element",
97+
"icon": "resources/dark/editor.svg"
8298
}
8399
],
84100
"customEditors": [

0 commit comments

Comments
 (0)