Auto merge of #15153 - tetsuharuohzeki:cleanup-activationEvents, r=lnicola

Clean up `activationEvents` field in vscode extension's package.json

By documents, VSCode v1.74 or later activates the extension automatically according to other configurations.

See:
- https://code.visualstudio.com/api/references/activation-events#onLanguage
    - https://code.visualstudio.com/docs/languages/identifiers
- https://code.visualstudio.com/api/references/activation-events#onCommand
    - https://code.visualstudio.com/api/references/contribution-points#contributes.commands
This commit is contained in:
bors 2023-06-28 07:54:46 +00:00
commit b2ddf14d93

View File

@ -64,11 +64,6 @@
"vsce": "^2.9.2" "vsce": "^2.9.2"
}, },
"activationEvents": [ "activationEvents": [
"onLanguage:rust",
"onCommand:rust-analyzer.analyzerStatus",
"onCommand:rust-analyzer.memoryUsage",
"onCommand:rust-analyzer.reloadWorkspace",
"onCommand:rust-analyzer.startServer",
"workspaceContains:*/Cargo.toml", "workspaceContains:*/Cargo.toml",
"workspaceContains:*/rust-project.json" "workspaceContains:*/rust-project.json"
], ],