diff --git a/extensions/markdown/package.json b/extensions/markdown/package.json index 87facfe7264..5f800d1199e 100644 --- a/extensions/markdown/package.json +++ b/extensions/markdown/package.json @@ -44,7 +44,7 @@ "commands": [ { "command": "markdown.showPreview", - "title": "%markdown.previewMarkdown.title%", + "title": "%markdown.preview.title%", "category": "%markdown.category%", "icon": { "light": "./media/Preview.svg", @@ -53,7 +53,7 @@ }, { "command": "markdown.showPreviewToSide", - "title": "%markdown.previewMarkdownSide.title%", + "title": "%markdown.previewSide.title%", "icon": { "light": "./media/Preview.svg", "dark": "./media/Preview_inverse.svg" @@ -80,6 +80,12 @@ "when": "resourceScheme == markdown", "command": "markdown.showSource" } + ], + "explorer/context": [ + { + "when": "resourceLangId == markdown", + "command": "markdown.showPreview" + } ] }, "keybindings": [ diff --git a/extensions/markdown/package.nls.json b/extensions/markdown/package.nls.json index f5269c03855..dbf773dc25c 100644 --- a/extensions/markdown/package.nls.json +++ b/extensions/markdown/package.nls.json @@ -1,7 +1,6 @@ { "markdown.category" : "Markdown", - "markdown.openPreview" : "Open Preview", - "markdown.previewMarkdown.title" : "Show Preview", - "markdown.previewMarkdownSide.title" : "Open Preview to the Side", + "markdown.preview.title" : "Open Preview", + "markdown.previewSide.title" : "Open Preview to the Side", "markdown.showSource.title" : "Show Source" } \ No newline at end of file