-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
extension.json
186 lines (186 loc) · 6.76 KB
/
extension.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"identifier": "emmetio.Emmet",
"name": "Emmet",
"organization": "Emmet",
"description": "Emmet — the essential toolkit for web-developers",
"version": "1.0",
"categories": ["completions"],
"main": "main.js",
"homepage": "https://emmet.io",
"repository": "https://github.com/emmetio/nova-plugin",
"bugs": "https://github.com/emmetio/nova-plugin/issues",
"entitlements": {
"filesystem": "readwrite",
"requests": true
},
"commands": {
"editor": [{
"title": "Expand Abbreviation",
"command": "emmet.expand-abbreviation",
"when": "editorHasFocus",
"shortcut": "ctrl-e"
}, {
"title": "Clear Abbreviation Marker",
"command": "emmet.clear-marker",
"when": "editorHasFocus"
}, {
"title": "Balance",
"command": "emmet.balance",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Balance Inward",
"command": "emmet.balance-inward",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Comment Section",
"command": "emmet.comment",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Convert to data:URL",
"command": "emmet.convert-data-url",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Evaluate Math Expression",
"command": "emmet.evaluate-math",
"when": "editorHasFocus"
}, {
"title": "Go to Tag Pair",
"command": "emmet.go-to-tag-pair",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl"]
}, {
"title": "Remove Tag",
"command": "emmet.remove-tag",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl"]
}, {
"title": "Update Image Size",
"command": "emmet.update-image-size",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Wrap With Abbreviation",
"command": "emmet.wrap-with-abbreviation",
"when": "editorHasFocus"
}, {
"title": "Split/Join Tag",
"command": "emmet.split-join-tag",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl"]
}, {
"title": "Go to Next Edit Point",
"command": "emmet.go-to-next-edit-point",
"when": "editorHasFocus",
"shortcut": "ctrl-right"
}, {
"title": "Go to Previous Edit Point",
"command": "emmet.go-to-previous-edit-point",
"shortcut": "ctrl-left",
"when": "editorHasFocus"
}, {
"title": "Select Next Item",
"command": "emmet.select-next-item",
"shortcut": "ctrl-shift-right",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Select Previous Item",
"command": "emmet.select-previous-item",
"shortcut": "ctrl-shift-left",
"when": "editorHasFocus",
"syntaxes": ["html", "xml", "xsl", "css", "scss", "less"]
}, {
"title": "Increment Number by 1",
"command": "emmet.increment-number-1",
"shortcut": "ctrl-up",
"when": "editorHasFocus"
}, {
"title": "Decrement Number by 1",
"command": "emmet.decrement-number-1",
"shortcut": "ctrl-down",
"when": "editorHasFocus"
}, {
"title": "Increment Number by 0.1",
"command": "emmet.increment-number-01",
"shortcut": "ctrl-alt-up",
"when": "editorHasFocus"
}, {
"title": "Decrement Number by 0.1",
"command": "emmet.decrement-number-01",
"shortcut": "ctrl-alt-down",
"when": "editorHasFocus"
}, {
"title": "Increment Number by 10",
"command": "emmet.increment-number-10",
"shortcut": "ctrl-shift-up",
"when": "editorHasFocus"
}, {
"title": "Decrement Number by 10",
"command": "emmet.decrement-number-10",
"shortcut": "ctrl-shift-down",
"when": "editorHasFocus"
}]
},
"config": [{
"key": "emmet.enable-completions",
"title": "Enable auto-complete",
"description": "When enabled, parses abbreviation as-you-type in known document syntaxes (HTML, CSS etc.) and displays auto-complete popup with expanded preview. Expand it as a regular completion, with Tab or Enter.\nNote that you can always expand abbreviation with Emmet > Expand Abbreviation action in any document event if this option disabled.",
"type": "boolean",
"default": true,
"children": [{
"key": "emmet.preview-completion",
"title": "Abbreviation preview",
"description": "Display expanded abbreviation preview in completions pop-up.",
"type": "boolean",
"default": true
}, {
"key": "emmet.ignored-syntaxes",
"title": "Ignored syntaxes",
"description": "Comma-separated list of syntaxes where auto-complete should be disabled. Use 'markup' and 'stylesheet' keywords to disable completely in all markup or stylesheet syntaxes.",
"type": "string",
"default": ""
}]
}, {
"key": "emmet.code-style",
"title": "Output code style",
"type": "enum",
"values": ["HTML", "XHTML", "XML"],
"default": "HTML",
"description": "Defines how self-closing tags (like <img> or <br>) and boolean attributes (like disabled) will look in generated code."
}, {
"key": "emmet.attribute-quotes",
"title": "Attribute quotes",
"type": "enum",
"values": ["single", "double" ],
"default": "double"
}, {
"key": "emmet.comment",
"title": "Enable tag commenting",
"description": "When enabled, automatically places comment after tags containing either ID or CLASS attribute. For example, expanding `div#foo.bar` will generate `<div id=\"foo\" class=\"bar\"></div><!-- #foo.bar -->`.",
"type": "boolean",
"default": false,
"children": [{
"key": "emmet.comment-template",
"title": "Comment template",
"description": "Contents between [ and ] will be outputted only if specified attribute (written in upper-case) is defined in element. Use \\n for new line.",
"type": "string",
"default": "\\n<!-- /[#ID][.CLASS] -->"
}]
}, {
"key": "emmet.bem",
"title": "Enable BEM support",
"description": "When enabled, treats `-` and `_` at the beginning of the class name as BEM element and modifier. For example, `.block.-elem` would be the same as `.block.block__elem`.",
"type": "boolean",
"default": false
}, {
"key": "emmet.shortHex",
"title": "Use short HEX colors in CSS",
"description": "When enabled, tries to shorten generated HEX color values for CSS abbreviations. For example, `c#0` abbreviation can be expanded either to `color: #000;` or `color: #000000;`",
"type": "boolean",
"default": false
}]
}