mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
chore: 增加activationEvents, 支持html等文件监听
This commit is contained in:
parent
9fa41c6d5b
commit
bdba5e2e35
25
package.json
25
package.json
@ -79,7 +79,14 @@
|
|||||||
"onCommand:extension.rule57",
|
"onCommand:extension.rule57",
|
||||||
"onCommand:extension.rule58",
|
"onCommand:extension.rule58",
|
||||||
"onCommand:extension.rule59",
|
"onCommand:extension.rule59",
|
||||||
"onCommand:extension.rule60"
|
"onCommand:extension.rule60",
|
||||||
|
"onLanguage:html",
|
||||||
|
"onLanguage:vue",
|
||||||
|
"onLanguage:jsx",
|
||||||
|
"onLanguage:js",
|
||||||
|
"onLanguage:mjs",
|
||||||
|
"onLanguage:ts",
|
||||||
|
"onLanguage:plaintext"
|
||||||
],
|
],
|
||||||
"main": "./out/extension.js",
|
"main": "./out/extension.js",
|
||||||
"contributes": {
|
"contributes": {
|
||||||
@ -350,5 +357,21 @@
|
|||||||
"typescript": "^3.3.1",
|
"typescript": "^3.3.1",
|
||||||
"tslint": "^5.12.1",
|
"tslint": "^5.12.1",
|
||||||
"vscode-test": "^1.0.2"
|
"vscode-test": "^1.0.2"
|
||||||
|
},
|
||||||
|
"configuration": {
|
||||||
|
"type": "object",
|
||||||
|
"title": "Any Rule",
|
||||||
|
"properties": {
|
||||||
|
"anyRule.triggerString": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "zz",
|
||||||
|
"description": "触发字符串"
|
||||||
|
},
|
||||||
|
"anyRule.supportedLanguages": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "javascript,typescript,javascriptreact,typescriptreact,vue,coffeescript",
|
||||||
|
"description": "激活AnyRule的文件类型,多个类型用逗号分隔"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user