forked from mblode/vscode-twig-language-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 4.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "twig-language-2",
"displayName": "Twig Language 2",
"description":
"Snippets, Syntax Highlighting, Hover, and Formatting for Twig",
"version": "0.3.2",
"publisher": "mblode",
"author": {
"name": "Matthew Blode",
"email": "m.blode@gmail.com",
"url": "https://matthewblode.com"
},
"homepage": "https://github.com/mblode/vscode-twig-language-2",
"bugs": {
"url": "https://github.com/mblode/vscode-twig-language-2/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/mblode/vscode-twig-language-2.git"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.17.0"
},
"categories": ["Languages", "Snippets", "Other"],
"keywords": ["php", "twig", "snippets", "craft", "beautify"],
"activationEvents": ["onLanguage:twig"],
"main": "./src/extension",
"contributes": {
"languages": [
{
"id": "twig",
"aliases": ["HTML (Twig)", "twig"],
"extensions": [".twig", ".html.twig"],
"configuration": "./src/languages/twig.configuration.json"
}
],
"grammars": [
{
"language": "twig",
"scopeName": "text.html.twig",
"path": "./src/syntaxes/twig.tmLanguage"
}
],
"snippets": [
{
"language": "twig",
"path": "./src/snippets/snippets.json"
}
],
"configuration": {
"type": "object",
"title": "Twig Language configuration",
"properties": {
"twig-language-2.hover": {
"type": "boolean",
"default": true,
"description": "Whether to enable/disable Twig hover."
},
"twig-language-2.formatting": {
"type": "boolean",
"default": true,
"description":
"Whether to enable/disable Twig PrettyDiff formatting."
},
"twig-language-2.tabSize": {
"type": "integer",
"default": 4,
"description":
"Stores the number of times the inchar value must repeat to comprise a single indentation."
},
"twig-language-2.newline": {
"type": "boolean",
"default": true,
"description":
"Whether to insert an empty line at the end of output."
},
"twig-language-2.objSort": {
"type": "string",
"enum": ["all", "none"],
"default": "none",
"description":
"Sorts properties of objects attributs in HTML."
},
"twig-language-2.wrap": {
"type": "integer",
"default": 0,
"description":
"How many columns wide text content may be before wrapping onto a new line. The value 0 disables text wrapping."
},
"twig-language-2.methodchain": {
"type": "string",
"enum": ["chain", "indent", "none"],
"default": "none",
"description":
"Whether consecutive methods should be continuously chained onto a single line of code."
},
"twig-language-2.ternaryLine": {
"type": "boolean",
"default": true,
"description":
"Whether to keep ? and : operators of ternary statements on one line of code."
}
}
}
},
"capabilities": {
"hoverProvider": "true"
},
"devDependencies": {
"@types/node": "*",
"babel-eslint": "7",
"eslint": "3.x",
"eslint-config-prettier": "^2.7.0",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"prettydiff2": "^2.2.7"
}
}