mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Only show the markdown refresh preview command when preview is active or you are in a markdown file
This commit is contained in:
parent
4516dd8ce6
commit
f62d1f25f3
|
@ -153,6 +153,14 @@
|
|||
{
|
||||
"command": "markdown.preview.toggleLock",
|
||||
"when": "markdownPreviewFocus"
|
||||
},
|
||||
{
|
||||
"command": "markdown.preview.refresh",
|
||||
"when": "editorLangId == markdown"
|
||||
},
|
||||
{
|
||||
"command": "markdown.preview.refresh",
|
||||
"when": "markdownPreviewFocus"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -315,4 +323,4 @@
|
|||
"webpack": "^4.1.0",
|
||||
"webpack-cli": "^2.0.10"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue