From bdba5e2e355211a3fbadea68dbe2b275c231015f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=81=E5=AE=81?= <383514580@qq.com> Date: Thu, 20 Feb 2020 11:56:57 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=20=E5=A2=9E=E5=8A=A0activationEvents,?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81html=E7=AD=89=E6=96=87=E4=BB=B6=E7=9B=91?= =?UTF-8?q?=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 86d2c24..cfdb079 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,14 @@ "onCommand:extension.rule57", "onCommand:extension.rule58", "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", "contributes": { @@ -350,5 +357,21 @@ "typescript": "^3.3.1", "tslint": "^5.12.1", "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的文件类型,多个类型用逗号分隔" + } + } } } \ No newline at end of file