mirror of
https://github.com/Microsoft/vscode
synced 2024-10-31 10:00:51 +00:00
718 lines
20 KiB
JSON
718 lines
20 KiB
JSON
{
|
|
"name": "css-language-features",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"engines": {
|
|
"vscode": "0.10.x"
|
|
},
|
|
"icon": "icons/css.png",
|
|
"activationEvents": [
|
|
"onLanguage:css",
|
|
"onLanguage:less",
|
|
"onLanguage:scss",
|
|
"onCommand:_css.applyCodeAction"
|
|
],
|
|
"enableProposedApi": true,
|
|
"main": "./client/out/cssMain",
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:css-language-features-client compile-extension:css-language-features-server",
|
|
"watch": "gulp watch-extension:css-language-features-client watch-extension:css-language-features-server",
|
|
"test": "mocha",
|
|
"postinstall": "cd server && yarn install",
|
|
"install-client-next": "yarn add vscode-languageclient@next"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"contributes": {
|
|
"configuration": [
|
|
{
|
|
"order": 22,
|
|
"id": "css",
|
|
"title": "%css.title%",
|
|
"properties": {
|
|
"css.validate": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "%css.validate.desc%"
|
|
},
|
|
"css.colorDecorators.enable": {
|
|
"type": "boolean",
|
|
"scope": "window",
|
|
"default": true,
|
|
"description": "%css.colorDecorators.enable.desc%",
|
|
"deprecationMessage": "%css.colorDecorators.enable.deprecationMessage%"
|
|
},
|
|
"css.lint.compatibleVendorPrefixes": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.compatibleVendorPrefixes.desc%"
|
|
},
|
|
"css.lint.vendorPrefix": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%css.lint.vendorPrefix.desc%"
|
|
},
|
|
"css.lint.duplicateProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.duplicateProperties.desc%"
|
|
},
|
|
"css.lint.emptyRules": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%css.lint.emptyRules.desc%"
|
|
},
|
|
"css.lint.importStatement": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.importStatement.desc%"
|
|
},
|
|
"css.lint.boxModel": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%css.lint.boxModel.desc%"
|
|
},
|
|
"css.lint.universalSelector": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%css.lint.universalSelector.desc%"
|
|
},
|
|
"css.lint.zeroUnits": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.zeroUnits.desc%"
|
|
},
|
|
"css.lint.fontFaceProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%css.lint.fontFaceProperties.desc%"
|
|
},
|
|
"css.lint.hexColorLength": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"description": "%css.lint.hexColorLength.desc%"
|
|
},
|
|
"css.lint.argumentsInColorFunction": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"description": "%css.lint.argumentsInColorFunction.desc%"
|
|
},
|
|
"css.lint.unknownProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%css.lint.unknownProperties.desc%"
|
|
},
|
|
"css.lint.ieHack": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.ieHack.desc%"
|
|
},
|
|
"css.lint.unknownVendorSpecificProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.unknownVendorSpecificProperties.desc%"
|
|
},
|
|
"css.lint.propertyIgnoredDueToDisplay": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"markdownDescription": "%css.lint.propertyIgnoredDueToDisplay.desc%"
|
|
},
|
|
"css.lint.important": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.important.desc%"
|
|
},
|
|
"css.lint.float": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%css.lint.float.desc%"
|
|
},
|
|
"css.lint.idSelector": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%css.lint.idSelector.desc%"
|
|
},
|
|
"css.lint.unknownAtRules": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%css.lint.unknownAtRules.desc%"
|
|
},
|
|
"css.trace.server": {
|
|
"type": "string",
|
|
"scope": "window",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"default": "off",
|
|
"description": "%css.trace.server.desc%"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "scss",
|
|
"order": 24,
|
|
"title": "%scss.title%",
|
|
"properties": {
|
|
"scss.validate": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "%scss.validate.desc%"
|
|
},
|
|
"scss.colorDecorators.enable": {
|
|
"type": "boolean",
|
|
"scope": "window",
|
|
"default": true,
|
|
"description": "%scss.colorDecorators.enable.desc%",
|
|
"deprecationMessage": "%scss.colorDecorators.enable.deprecationMessage%"
|
|
},
|
|
"scss.lint.compatibleVendorPrefixes": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.compatibleVendorPrefixes.desc%"
|
|
},
|
|
"scss.lint.vendorPrefix": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%scss.lint.vendorPrefix.desc%"
|
|
},
|
|
"scss.lint.duplicateProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.duplicateProperties.desc%"
|
|
},
|
|
"scss.lint.emptyRules": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%scss.lint.emptyRules.desc%"
|
|
},
|
|
"scss.lint.importStatement": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.importStatement.desc%"
|
|
},
|
|
"scss.lint.boxModel": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%scss.lint.boxModel.desc%"
|
|
},
|
|
"scss.lint.universalSelector": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%scss.lint.universalSelector.desc%"
|
|
},
|
|
"scss.lint.zeroUnits": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.zeroUnits.desc%"
|
|
},
|
|
"scss.lint.fontFaceProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"markdownDescription": "%scss.lint.fontFaceProperties.desc%"
|
|
},
|
|
"scss.lint.hexColorLength": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"description": "%scss.lint.hexColorLength.desc%"
|
|
},
|
|
"scss.lint.argumentsInColorFunction": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"description": "%scss.lint.argumentsInColorFunction.desc%"
|
|
},
|
|
"scss.lint.unknownProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%scss.lint.unknownProperties.desc%"
|
|
},
|
|
"scss.lint.ieHack": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.ieHack.desc%"
|
|
},
|
|
"scss.lint.unknownVendorSpecificProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.unknownVendorSpecificProperties.desc%"
|
|
},
|
|
"scss.lint.propertyIgnoredDueToDisplay": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"markdownDescription": "%scss.lint.propertyIgnoredDueToDisplay.desc%"
|
|
},
|
|
"scss.lint.important": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%scss.lint.important.desc%"
|
|
},
|
|
"scss.lint.float": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%scss.lint.float.desc%"
|
|
},
|
|
"scss.lint.idSelector": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%scss.lint.idSelector.desc%"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "less",
|
|
"order": 23,
|
|
"type": "object",
|
|
"title": "%less.title%",
|
|
"properties": {
|
|
"less.validate": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "%less.validate.desc%"
|
|
},
|
|
"less.colorDecorators.enable": {
|
|
"type": "boolean",
|
|
"scope": "window",
|
|
"default": true,
|
|
"description": "%less.colorDecorators.enable.desc%",
|
|
"deprecationMessage": "%less.colorDecorators.enable.deprecationMessage%"
|
|
},
|
|
"less.lint.compatibleVendorPrefixes": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.compatibleVendorPrefixes.desc%"
|
|
},
|
|
"less.lint.vendorPrefix": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%less.lint.vendorPrefix.desc%"
|
|
},
|
|
"less.lint.duplicateProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.duplicateProperties.desc%"
|
|
},
|
|
"less.lint.emptyRules": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%less.lint.emptyRules.desc%"
|
|
},
|
|
"less.lint.importStatement": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.importStatement.desc%"
|
|
},
|
|
"less.lint.boxModel": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%less.lint.boxModel.desc%"
|
|
},
|
|
"less.lint.universalSelector": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%less.lint.universalSelector.desc%"
|
|
},
|
|
"less.lint.zeroUnits": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.zeroUnits.desc%"
|
|
},
|
|
"less.lint.fontFaceProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"markdownDescription": "%less.lint.fontFaceProperties.desc%"
|
|
},
|
|
"less.lint.hexColorLength": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"description": "%less.lint.hexColorLength.desc%"
|
|
},
|
|
"less.lint.argumentsInColorFunction": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"description": "%less.lint.argumentsInColorFunction.desc%"
|
|
},
|
|
"less.lint.unknownProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"description": "%less.lint.unknownProperties.desc%"
|
|
},
|
|
"less.lint.ieHack": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.ieHack.desc%"
|
|
},
|
|
"less.lint.unknownVendorSpecificProperties": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.unknownVendorSpecificProperties.desc%"
|
|
},
|
|
"less.lint.propertyIgnoredDueToDisplay": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"markdownDescription": "%less.lint.propertyIgnoredDueToDisplay.desc%"
|
|
},
|
|
"less.lint.important": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.important.desc%"
|
|
},
|
|
"less.lint.float": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"markdownDescription": "%less.lint.float.desc%"
|
|
},
|
|
"less.lint.idSelector": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "ignore",
|
|
"description": "%less.lint.idSelector.desc%"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^4.4.0",
|
|
"vscode-nls": "^3.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^8.10.25",
|
|
"mocha": "^5.2.0"
|
|
}
|
|
}
|