Remove more implicit activation events from built-in extensions (#172838)

This commit is contained in:
Matt Bierner 2023-01-30 17:25:56 -08:00 committed by GitHub
parent b8ef25af1c
commit 4630d8e4de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 27 deletions

View file

@ -20,20 +20,9 @@
], ],
"activationEvents": [ "activationEvents": [
"onLanguage:markdown", "onLanguage:markdown",
"onCommand:markdown.preview.toggleLock",
"onCommand:markdown.preview.refresh",
"onCommand:markdown.showPreview",
"onCommand:markdown.showPreviewToSide",
"onCommand:markdown.showLockedPreviewToSide",
"onCommand:markdown.showSource",
"onCommand:markdown.showPreviewSecuritySelector",
"onCommand:markdown.api.render", "onCommand:markdown.api.render",
"onCommand:markdown.api.reloadPlugins", "onCommand:markdown.api.reloadPlugins",
"onCommand:markdown.findAllFileReferences", "onWebviewPanel:markdown.preview"
"onCommand:markdown.editor.insertLinkFromWorkspace",
"onCommand:markdown.editor.insertImageFromWorkspace",
"onWebviewPanel:markdown.preview",
"onCustomEditor:vscode.markdown.preview.editor"
], ],
"capabilities": { "capabilities": {
"virtualWorkspaces": true, "virtualWorkspaces": true,

View file

@ -19,13 +19,7 @@
"categories": [ "categories": [
"Other" "Other"
], ],
"activationEvents": [ "activationEvents": [],
"onCustomEditor:imagePreview.previewEditor",
"onCommand:imagePreview.zoomIn",
"onCommand:imagePreview.zoomOut",
"onCustomEditor:vscode.audioPreview",
"onCustomEditor:vscode.videoPreview"
],
"capabilities": { "capabilities": {
"virtualWorkspaces": true, "virtualWorkspaces": true,
"untrustedWorkspaces": { "untrustedWorkspaces": {

View file

@ -23,7 +23,6 @@
"workspace" "workspace"
], ],
"activationEvents": [ "activationEvents": [
"onCommand:simpleBrowser.show",
"onCommand:simpleBrowser.api.open", "onCommand:simpleBrowser.api.open",
"onOpenExternalUri:http", "onOpenExternalUri:http",
"onOpenExternalUri:https", "onOpenExternalUri:https",

View file

@ -57,17 +57,10 @@
"onLanguage:typescript", "onLanguage:typescript",
"onLanguage:typescriptreact", "onLanguage:typescriptreact",
"onLanguage:jsx-tags", "onLanguage:jsx-tags",
"onCommand:typescript.reloadProjects",
"onCommand:javascript.reloadProjects",
"onCommand:typescript.selectTypeScriptVersion",
"onCommand:javascript.goToProjectConfig",
"onCommand:typescript.goToProjectConfig",
"onCommand:typescript.openTsServerLog",
"onCommand:typescript.tsserverRequest", "onCommand:typescript.tsserverRequest",
"onCommand:_typescript.configurePlugin", "onCommand:_typescript.configurePlugin",
"onCommand:_typescript.learnMoreAboutRefactorings", "onCommand:_typescript.learnMoreAboutRefactorings",
"onCommand:typescript.fileReferences", "onCommand:typescript.fileReferences",
"onCommand:typescript.goToSourceDefinition",
"onTaskType:typescript", "onTaskType:typescript",
"onLanguage:jsonc", "onLanguage:jsonc",
"onWalkthrough:nodejsWelcome" "onWalkthrough:nodejsWelcome"