mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
Merge branch 'main' into dev/mjbvz/legitimate-squirrel
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
"onLanguage:markdown",
|
||||
"onLanguage:prompt",
|
||||
"onLanguage:instructions",
|
||||
"onLanguage:chatmode",
|
||||
"onLanguage:chatagent",
|
||||
"onLanguage:skill",
|
||||
"onCommand:markdown.api.render",
|
||||
"onCommand:markdown.api.reloadPlugins",
|
||||
"onWebviewPanel:markdown.preview"
|
||||
@@ -181,13 +182,13 @@
|
||||
"command": "markdown.editor.insertLinkFromWorkspace",
|
||||
"title": "%markdown.editor.insertLinkFromWorkspace%",
|
||||
"category": "Markdown",
|
||||
"enablement": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !activeEditorIsReadonly"
|
||||
"enablement": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !activeEditorIsReadonly"
|
||||
},
|
||||
{
|
||||
"command": "markdown.editor.insertImageFromWorkspace",
|
||||
"title": "%markdown.editor.insertImageFromWorkspace%",
|
||||
"category": "Markdown",
|
||||
"enablement": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !activeEditorIsReadonly"
|
||||
"enablement": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !activeEditorIsReadonly"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -204,7 +205,7 @@
|
||||
"editor/title": [
|
||||
{
|
||||
"command": "markdown.showPreviewToSide",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused && !hasCustomMarkdownPreview",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused && !hasCustomMarkdownPreview",
|
||||
"alt": "markdown.showPreview",
|
||||
"group": "navigation"
|
||||
},
|
||||
@@ -232,24 +233,24 @@
|
||||
"explorer/context": [
|
||||
{
|
||||
"command": "markdown.showPreview",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !hasCustomMarkdownPreview",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !hasCustomMarkdownPreview",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "markdown.findAllFileReferences",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatmode)$/",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/",
|
||||
"group": "4_search"
|
||||
}
|
||||
],
|
||||
"editor/title/context": [
|
||||
{
|
||||
"command": "markdown.showPreview",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !hasCustomMarkdownPreview",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !hasCustomMarkdownPreview",
|
||||
"group": "1_open"
|
||||
},
|
||||
{
|
||||
"command": "markdown.findAllFileReferences",
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatmode)$/"
|
||||
"when": "resourceLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/"
|
||||
}
|
||||
],
|
||||
"commandPalette": [
|
||||
@@ -263,17 +264,17 @@
|
||||
},
|
||||
{
|
||||
"command": "markdown.showPreview",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "markdown.showPreviewToSide",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "markdown.showLockedPreviewToSide",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
@@ -283,7 +284,7 @@
|
||||
},
|
||||
{
|
||||
"command": "markdown.showPreviewSecuritySelector",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused"
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused"
|
||||
},
|
||||
{
|
||||
"command": "markdown.showPreviewSecuritySelector",
|
||||
@@ -295,7 +296,7 @@
|
||||
},
|
||||
{
|
||||
"command": "markdown.preview.refresh",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused"
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused"
|
||||
},
|
||||
{
|
||||
"command": "markdown.preview.refresh",
|
||||
@@ -303,7 +304,7 @@
|
||||
},
|
||||
{
|
||||
"command": "markdown.findAllFileReferences",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/"
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -312,13 +313,13 @@
|
||||
"command": "markdown.showPreview",
|
||||
"key": "shift+ctrl+v",
|
||||
"mac": "shift+cmd+v",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused"
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused"
|
||||
},
|
||||
{
|
||||
"command": "markdown.showPreviewToSide",
|
||||
"key": "ctrl+k v",
|
||||
"mac": "cmd+k v",
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatmode)$/ && !notebookEditorFocused"
|
||||
"when": "editorLangId =~ /^(markdown|prompt|instructions|chatagent|skill)$/ && !notebookEditorFocused"
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
@@ -756,14 +757,20 @@
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"compile": "gulp compile-extension:markdown-language-features && npm run build-preview && npm run build-notebook",
|
||||
"watch": "npm run build-preview && gulp watch-extension:markdown-language-features",
|
||||
"vscode:prepublish": "npm run build-ext && npm run build-preview",
|
||||
"build-ext": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.mjs compile-extension:markdown-language-features ./tsconfig.json",
|
||||
"build-notebook": "node ./esbuild-notebook.mjs",
|
||||
"build-preview": "node ./esbuild-preview.mjs",
|
||||
"compile-web": "npx webpack-cli --config extension-browser.webpack.config --mode none",
|
||||
"watch-web": "npx webpack-cli --config extension-browser.webpack.config --mode none --watch"
|
||||
"compile": "npm-run-all2 -lp build-ext build-webview build-notebook",
|
||||
"watch": "npm-run-all2 -lp watch-ext watch-webview watch-notebook",
|
||||
"build-ext": "gulp compile-extension:markdown-language-features",
|
||||
"watch-ext": "gulp watch-extension:markdown-language-features",
|
||||
"build-notebook": "node ./esbuild.notebook.mts",
|
||||
"watch-notebook": "node ./esbuild.notebook.mts --watch",
|
||||
"build-webview": "node ./esbuild.webview.mts",
|
||||
"watch-webview": "node ./esbuild.webview.mts --watch",
|
||||
"compile-web": "npm-run-all2 -lp bundle-web typecheck-web",
|
||||
"bundle-web": "node ./esbuild.browser.mts",
|
||||
"typecheck-web": "tsgo --project ./tsconfig.browser.json --noEmit",
|
||||
"watch-web": "npm-run-all2 -lp watch-bundle-web watch-typecheck-web",
|
||||
"watch-bundle-web": "node ./esbuild.browser.mts --watch",
|
||||
"watch-typecheck-web": "tsgo --project ./tsconfig.browser.json --noEmit --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vscode/extension-telemetry": "^0.9.8",
|
||||
|
||||
Reference in New Issue
Block a user