2015-11-13 13:39:38 +00:00
|
|
|
{
|
2016-09-08 17:03:05 +00:00
|
|
|
"name": "html",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"publisher": "vscode",
|
2016-12-01 16:14:06 +00:00
|
|
|
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
2016-09-08 17:03:05 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "0.10.x"
|
|
|
|
},
|
|
|
|
"activationEvents": [
|
2016-09-14 07:49:40 +00:00
|
|
|
"onLanguage:html",
|
2016-09-14 14:39:14 +00:00
|
|
|
"onLanguage:handlebars",
|
|
|
|
"onLanguage:razor"
|
2016-09-08 17:03:05 +00:00
|
|
|
],
|
|
|
|
"main": "./client/out/htmlMain",
|
|
|
|
"scripts": {
|
|
|
|
"compile": "gulp compile-extension:html-client && gulp compile-extension:html-server",
|
|
|
|
"postinstall": "cd server && npm install",
|
|
|
|
"update-grammar": "node ../../build/npm/update-grammar.js textmate/html.tmbundle Syntaxes/HTML.plist ./syntaxes/html.json",
|
2016-11-18 09:27:20 +00:00
|
|
|
"install-client-next": "npm install vscode-languageserver-types@next -f -S && npm install vscode-languageclient@next -f -S",
|
|
|
|
"install-client-local": "npm install ../../../vscode-languageserver-node/types -f -S && npm install ../../../vscode-languageserver-node/client -f -S"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
2016-10-17 13:30:11 +00:00
|
|
|
"contributes": {
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "html",
|
|
|
|
"extensions": [
|
|
|
|
".html",
|
|
|
|
".htm",
|
|
|
|
".shtml",
|
|
|
|
".xhtml",
|
|
|
|
".mdoc",
|
|
|
|
".jsp",
|
|
|
|
".asp",
|
|
|
|
".aspx",
|
|
|
|
".jshtm",
|
2017-03-17 18:32:05 +00:00
|
|
|
".volt",
|
2017-07-12 06:58:43 +00:00
|
|
|
".ejs",
|
|
|
|
".rhtml"
|
2016-10-17 13:30:11 +00:00
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"HTML",
|
|
|
|
"htm",
|
|
|
|
"html",
|
|
|
|
"xhtml"
|
|
|
|
],
|
|
|
|
"mimetypes": [
|
|
|
|
"text/html",
|
|
|
|
"text/x-jshtm",
|
|
|
|
"text/template",
|
|
|
|
"text/ng-template",
|
|
|
|
"application/xhtml+xml"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "html",
|
|
|
|
"scopeName": "text.html.basic",
|
2016-10-27 12:57:12 +00:00
|
|
|
"path": "./syntaxes/html.json",
|
|
|
|
"embeddedLanguages": {
|
|
|
|
"text.html": "html",
|
|
|
|
"source.css": "css",
|
|
|
|
"source.js": "javascript",
|
|
|
|
"source.python": "python",
|
|
|
|
"source.smarty": "smarty"
|
|
|
|
}
|
2016-10-17 13:30:11 +00:00
|
|
|
}
|
|
|
|
],
|
2016-09-08 17:03:05 +00:00
|
|
|
"configuration": {
|
|
|
|
"id": "html",
|
|
|
|
"order": 20,
|
|
|
|
"type": "object",
|
|
|
|
"title": "HTML",
|
|
|
|
"properties": {
|
2016-10-17 13:30:11 +00:00
|
|
|
"html.format.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.enable.desc%"
|
2016-10-17 13:30:11 +00:00
|
|
|
},
|
2016-09-08 17:03:05 +00:00
|
|
|
"html.format.wrapLineLength": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 120,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.wrapLineLength.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
|
|
|
"html.format.unformatted": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
2017-01-08 03:44:02 +00:00
|
|
|
"default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var",
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.unformatted.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
2017-01-08 03:44:02 +00:00
|
|
|
"html.format.contentUnformatted": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": "pre",
|
|
|
|
"description": "%html.format.contentUnformatted.desc%"
|
|
|
|
},
|
2016-09-08 17:03:05 +00:00
|
|
|
"html.format.indentInnerHtml": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.indentInnerHtml.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
|
|
|
"html.format.preserveNewLines": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.preserveNewLines.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
|
|
|
"html.format.maxPreserveNewLines": {
|
|
|
|
"type": [
|
|
|
|
"number",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": null,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.maxPreserveNewLines.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
|
|
|
"html.format.indentHandlebars": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.indentHandlebars.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
|
|
|
"html.format.endWithNewline": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.endWithNewline.desc%"
|
2016-09-08 17:03:05 +00:00
|
|
|
},
|
|
|
|
"html.format.extraLiners": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
|
|
|
"default": "head, body, /html",
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.format.extraLiners.desc%"
|
2016-09-14 14:39:14 +00:00
|
|
|
},
|
2017-01-08 02:48:35 +00:00
|
|
|
"html.format.wrapAttributes": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "auto",
|
2017-01-17 20:15:59 +00:00
|
|
|
"enum": [
|
|
|
|
"auto",
|
|
|
|
"force",
|
2017-02-03 15:06:12 +00:00
|
|
|
"force-aligned",
|
2017-01-17 20:15:59 +00:00
|
|
|
"force-expand-multiline"
|
|
|
|
],
|
|
|
|
"enumDescriptions": [
|
|
|
|
"%html.format.wrapAttributes.auto%",
|
|
|
|
"%html.format.wrapAttributes.force%",
|
|
|
|
"%html.format.wrapAttributes.forcealign%",
|
|
|
|
"%html.format.wrapAttributes.forcemultiline%"
|
|
|
|
],
|
2017-01-08 02:48:35 +00:00
|
|
|
"description": "%html.format.wrapAttributes.desc%"
|
|
|
|
},
|
2016-09-14 14:39:14 +00:00
|
|
|
"html.suggest.angular1": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.suggest.angular1.desc%"
|
2016-09-14 14:39:14 +00:00
|
|
|
},
|
|
|
|
"html.suggest.ionic": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.suggest.ionic.desc%"
|
2016-09-14 14:39:14 +00:00
|
|
|
},
|
|
|
|
"html.suggest.html5": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2016-11-29 18:23:13 +00:00
|
|
|
"description": "%html.suggest.html5.desc%"
|
2016-12-05 11:06:34 +00:00
|
|
|
},
|
2017-01-03 02:20:03 +00:00
|
|
|
"html.validate.scripts": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%html.validate.scripts%"
|
|
|
|
},
|
|
|
|
"html.validate.styles": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%html.validate.styles%"
|
|
|
|
},
|
2016-12-05 11:06:34 +00:00
|
|
|
"html.trace.server": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"off",
|
|
|
|
"messages",
|
|
|
|
"verbose"
|
|
|
|
],
|
|
|
|
"default": "off",
|
|
|
|
"description": "Traces the communication between VS Code and the HTML language server."
|
2016-09-08 17:03:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-06-30 16:57:37 +00:00
|
|
|
"vscode-extension-telemetry": "0.0.8",
|
2017-06-21 14:17:13 +00:00
|
|
|
"vscode-languageclient": "3.1.0-alpha.1",
|
|
|
|
"vscode-languageserver-types": "3.0.3",
|
|
|
|
"vscode-nls": "2.0.2"
|
2016-11-24 17:42:31 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/node": "^6.0.51",
|
|
|
|
"@types/mocha": "^2.2.33"
|
2016-09-08 17:03:05 +00:00
|
|
|
}
|
2017-06-21 14:17:13 +00:00
|
|
|
}
|