forked from zignd/HTML-CSS-Class-Completion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 5.04 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 5.04 KB
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
{
"name": "html-css-class-completion",
"displayName": "IntelliSense for CSS class names in HTML",
"description": "CSS class name completion for the HTML class attribute based on the definitions found in your workspace.",
"version": "1.23.0",
"publisher": "vain0x",
"engines": {
"vscode": "^1.96.0"
},
"keywords": [
"html",
"css",
"class",
"autocomplete",
"multi-root ready"
],
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onLanguage:css",
"workspaceContains:**/*.css"
],
"contributes": {
"commands": [
{
"command": "html-css-class-completion.cache",
"title": "Cache CSS class definitions"
}
],
"configuration": [
{
"title": "IntelliSense for CSS class names in HTML",
"properties": {
"html-css-class-completion.includeGlobPattern": {
"type": "string",
"default": "**/*.{css,html}",
"description": "A glob pattern that defines files and folders to search for. The glob pattern will be matched against the paths of resulting matches relative to their workspace."
},
"html-css-class-completion.excludeGlobPattern": {
"type": "string",
"default": "",
"description": "A glob pattern that defines files and folders to exclude. The glob pattern will be matched against the file paths of resulting matches relative to their workspace."
},
"html-css-class-completion.enableEmmetSupport": {
"type": "boolean",
"default": false,
"description": "Enables completion when you're writing Emmet abbreviations."
},
"html-css-class-completion.enableExternalStylesheetSupport": {
"type": "boolean",
"default": true,
"description": "Support external stylesheet (If true, src attributes on link[rel=stylesheet] in HTML documents are fetched. If false, link elements are ignored.)"
},
"html-css-class-completion.HTMLLanguages": {
"type": "array",
"description": "A list of HTML based languages where suggestions are enabled.",
"default": [
"html",
"vue",
"razor",
"blade",
"handlebars",
"twig",
"django-html",
"php",
"markdown",
"erb",
"ejs",
"svelte"
]
},
"html-css-class-completion.CSSLanguages": {
"type": "array",
"description": "A list of CSS based languages where suggestions are enabled.",
"default": [
"css",
"sass",
"scss"
]
},
"html-css-class-completion.CSSParser": {
"type": "string",
"description": "CSS Parser (@adobe/css-tools (default) or regexp-based rough parser.)",
"enum": [
"css-tools",
"regexp"
],
"default": "css-tools"
},
"html-css-class-completion.JavaScriptLanguages": {
"type": "array",
"description": "A list of JavaScript based languages where suggestions are enabled.",
"default": [
"javascript",
"javascriptreact",
"typescriptreact"
]
},
"html-css-class-completion.LanguageFeatures": {
"type": "object",
"description": "Language features to be enabled (for individual opt-out)",
"properties": {
"completion": {
"type": "boolean",
"description": "Code completion feature CSS class names in class/className attributes",
"default": true
},
"definitions": {
"type": "boolean",
"description": "Go to definitions feature navigating to CSS class definition",
"default": true
}
},
"default": {
"completion": true,
"definitions": true
}
}
}
}
]
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/vain0x/HTML-CSS-Class-Completion"
},
"type": "module",
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "node esbuild.config.mjs",
"build": "node esbuild.config.mjs",
"watch": "node esbuild.config.mjs --watch",
"package": "node esbuild.config.mjs",
"vsce-package": "vsce package",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"lint": "echo no lint",
"test": "echo no tests"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/vscode": "^1.96.0",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.2",
"typescript": "^5.7.2"
},
"dependencies": {
"@adobe/css-tools": "^4.4.0",
"htmlparser2": "^9.1.0",
"p-map": "^7.0.2"
}
}