Skip to content

Commit 540d293

Browse files
Ecmel ErcanEcmel Ercan
authored andcommitted
Update schema
1 parent 551874d commit 540d293

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ CSS support in HTML documents.
1313

1414
## resource.json
1515

16-
If a resource.json file is found in the root of the workspace, only files listed in the file will be used.
16+
If a resource.json file is found in the root of the workspace, only files listed in the file will be
17+
used for class attribute completion.
1718

18-
### Example:
19+
### Example
1920

2021
```
2122
{

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-html-css",
33
"displayName": "HTML CSS Support",
44
"description": "CSS support in HTML documents",
5-
"version": "0.0.14",
5+
"version": "0.0.15",
66
"publisher": "ecmel",
77
"license": "MIT",
88
"homepage": "https://github.com/ecmel/vscode-html-css",
@@ -16,8 +16,8 @@
1616
"Other"
1717
],
1818
"keywords": [
19-
"css",
2019
"html",
20+
"css",
2121
"style",
2222
"class",
2323
"attribute"

schema.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,27 @@
66
"properties": {
77
"dir": {
88
"description": "Directory Resources",
9-
"type": "object"
9+
"type": "object",
10+
"additionalProperties": {
11+
"description": "Directory paths",
12+
"type": "array"
13+
}
1014
},
1115
"css": {
1216
"description": "CSS Resources",
13-
"type": "object"
17+
"type": "object",
18+
"additionalProperties": {
19+
"description": "CSS file paths",
20+
"type": "array"
21+
}
1422
},
1523
"js": {
1624
"description": "JS Resources",
17-
"type": "object"
25+
"type": "object",
26+
"additionalProperties": {
27+
"description": "JS file paths",
28+
"type": "array"
29+
}
1830
}
1931
}
2032
}

0 commit comments

Comments
 (0)