Skip to content

Commit 6ede7be

Browse files
committed
Adjust preview commnads title
1 parent aaf463c commit 6ede7be

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
},
104104
{
105105
"command": "HackMD.showPreview",
106-
"title": "Show Preview",
106+
"title": "Open Preview",
107107
"category": "HackMD",
108108
"icon": {
109109
"light": "src/icon/light/view-dark.svg",
@@ -112,7 +112,7 @@
112112
},
113113
{
114114
"command": "HackMD.showPreviewAndEditor",
115-
"title": "Show Preview To Side",
115+
"title": "Open Preview to the Side",
116116
"category": "HackMD",
117117
"icon": {
118118
"light": "src/icon/light/column-dark.svg",
@@ -144,10 +144,18 @@
144144
"when": "view == mdTreeItems && viewItem == file",
145145
"group": "inline"
146146
},
147+
{
148+
"command": "HackMD.showPreview",
149+
"when": "view == mdTreeItems && viewItem == file"
150+
},
147151
{
148152
"command": "HackMD.showPreviewAndEditor",
149153
"when": "view == mdTreeItems && viewItem == file",
150154
"group": "inline"
155+
},
156+
{
157+
"command": "HackMD.showPreviewAndEditor",
158+
"when": "view == mdTreeItems && viewItem == file"
151159
}
152160
]
153161
},

0 commit comments

Comments
 (0)