Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/markdown-language-features/package.json')
-rw-r--r--extensions/markdown-language-features/package.json67
1 files changed, 66 insertions, 1 deletions
diff --git a/extensions/markdown-language-features/package.json b/extensions/markdown-language-features/package.json
index 8fa1a37eaae..9e7c97c613f 100644
--- a/extensions/markdown-language-features/package.json
+++ b/extensions/markdown-language-features/package.json
@@ -29,6 +29,7 @@
"onCommand:markdown.showPreviewSecuritySelector",
"onCommand:markdown.api.render",
"onCommand:markdown.api.reloadPlugins",
+ "onCommand:markdown.findAllFileReferences",
"onWebviewPanel:markdown.preview",
"onCustomEditor:vscode.markdown.preview.editor"
],
@@ -122,7 +123,8 @@
"text/x-typescript",
"text/x-vb",
"text/x-xml",
- "text/x-yaml"
+ "text/x-yaml",
+ "application/json"
]
}
],
@@ -168,6 +170,11 @@
"command": "markdown.preview.toggleLock",
"title": "%markdown.preview.toggleLock.title%",
"category": "Markdown"
+ },
+ {
+ "command": "markdown.findAllFileReferences",
+ "title": "%markdown.findAllFileReferences%",
+ "category": "Markdown"
}
],
"menus": {
@@ -204,6 +211,11 @@
"command": "markdown.showPreview",
"when": "resourceLangId == markdown && !hasCustomMarkdownPreview",
"group": "navigation"
+ },
+ {
+ "command": "markdown.findAllFileReferences",
+ "when": "resourceLangId == markdown",
+ "group": "4_search"
}
],
"editor/title/context": [
@@ -211,6 +223,10 @@
"command": "markdown.showPreview",
"when": "resourceLangId == markdown && !hasCustomMarkdownPreview",
"group": "1_open"
+ },
+ {
+ "command": "markdown.findAllFileReferences",
+ "when": "resourceLangId == markdown"
}
],
"commandPalette": [
@@ -253,6 +269,10 @@
{
"command": "markdown.preview.refresh",
"when": "markdownPreviewFocus"
+ },
+ {
+ "command": "markdown.findAllFileReferences",
+ "when": "editorLangId == markdown"
}
]
},
@@ -387,6 +407,51 @@
"default": "off",
"description": "%markdown.trace.desc%",
"scope": "window"
+ },
+ "markdown.editor.drop.enabled": {
+ "type": "boolean",
+ "default": true,
+ "markdownDescription": "%configuration.markdown.editor.drop.enabled%",
+ "scope": "resource"
+ },
+ "markdown.experimental.validate.enabled": {
+ "type": "boolean",
+ "scope": "resource",
+ "description": "%configuration.markdown.experimental.validate.enabled.description%",
+ "default": false
+ },
+ "markdown.experimental.validate.referenceLinks": {
+ "type": "string",
+ "scope": "resource",
+ "description": "%configuration.markdown.experimental.validate.referenceLinks.description%",
+ "default": "warning",
+ "enum": [
+ "ignore",
+ "warning",
+ "error"
+ ]
+ },
+ "markdown.experimental.validate.headerLinks": {
+ "type": "string",
+ "scope": "resource",
+ "description": "%configuration.markdown.experimental.validate.headerLinks.description%",
+ "default": "warning",
+ "enum": [
+ "ignore",
+ "warning",
+ "error"
+ ]
+ },
+ "markdown.experimental.validate.fileLinks": {
+ "type": "string",
+ "scope": "resource",
+ "description": "%configuration.markdown.experimental.validate.fileLinks.description%",
+ "default": "warning",
+ "enum": [
+ "ignore",
+ "warning",
+ "error"
+ ]
}
}
},