markdown uses explorer/context menu

This commit is contained in:
Johannes Rieken
2016-06-23 16:27:49 +02:00
parent 0ae40a2d3a
commit dbb8c3f3b6
2 changed files with 10 additions and 5 deletions

View File

@@ -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": [