Skip to content

Commit aaf463c

Browse files
committed
Replace command prefix with category config
1 parent 4be0142 commit aaf463c

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

package.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,43 +84,50 @@
8484
"commands": [
8585
{
8686
"command": "HackMD.login",
87-
"title": "HackMD: Login"
87+
"title": "Login",
88+
"category": "HackMD"
8889
},
8990
{
9091
"command": "HackMD.logout",
91-
"title": "HackMD: Logout"
92+
"title": "Logout",
93+
"category": "HackMD"
9294
},
9395
{
9496
"command": "treeView.refreshList",
95-
"title": "HackMD: Refresh",
97+
"title": "Refresh",
98+
"category": "HackMD",
9699
"icon": {
97100
"light": "src/icon/light/refresh-dark.svg",
98101
"dark": "src/icon/dark/refresh-light.svg"
99102
}
100103
},
101104
{
102105
"command": "HackMD.showPreview",
103-
"title": "HackMD: Show Preview",
106+
"title": "Show Preview",
107+
"category": "HackMD",
104108
"icon": {
105109
"light": "src/icon/light/view-dark.svg",
106110
"dark": "src/icon/dark/view-light.svg"
107111
}
108112
},
109113
{
110114
"command": "HackMD.showPreviewAndEditor",
111-
"title": "HackMD: Show Preview To Side",
115+
"title": "Show Preview To Side",
116+
"category": "HackMD",
112117
"icon": {
113118
"light": "src/icon/light/column-dark.svg",
114119
"dark": "src/icon/dark/column-light.svg"
115120
}
116121
},
117122
{
118123
"command": "HackMD.createActiveEditorContentToHackMD",
119-
"title": "HackMD: Create note from editor"
124+
"title": "Create note from editor",
125+
"category": "HackMD"
120126
},
121127
{
122128
"command": "HacKMD.openNoteOnHackMD",
123-
"title": "HacKMD: Open note on HackMD"
129+
"title": "Open note on HackMD",
130+
"category": "HackMD"
124131
}
125132
],
126133
"menus": {

0 commit comments

Comments
 (0)