Skip to content

Commit 3b0a6ea

Browse files
committed
Bump version
1 parent 043fe52 commit 3b0a6ea

File tree

4 files changed

+110
-22
lines changed

4 files changed

+110
-22
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 1.15.0 (Dec 27, 2017)
2+
* Added User Settings to consider or exclude folders and files from the caching process.
3+
14
### 1.14.0 (Nov 10, 2017)
25
* Added support for Tailwind CSS's @apply function in CSS, SASS and SCSS.
36

README.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# IntelliSense for CSS class names
22

3-
A Visual Studio Code extension that provides CSS class name completion for the HTML `class` attribute based on the CSS class definitions that can be found in your workspace or in external files referenced through the `link` element.
3+
A Visual Studio Code extension that provides CSS class name completion for the HTML `class` attribute based on the CSS class definitions that can be found in your workspace or external files referenced through the `link` element.
44

55
![](https://i.imgur.com/5crMfTj.gif)
66

77
## Features
88
* Gives you autocompletion for CSS class definitions that can be found in your workspace (defined in CSS files or the in types listed in the Supported Language Modes section)
99
* Supports external stylesheets referenced through `link` elements in HTML files
1010
* Command to manually re-cache the class definitions used in the autocompletion
11+
* User Settings to override which folders and files should be considered or excluded from the caching process
1112

1213
## Supported Language Modes
1314
* HTML
@@ -28,18 +29,23 @@ A Visual Studio Code extension that provides CSS class name completion for the H
2829
* @apply in CSS, SASS and SCSS Files for [Tailwind CSS](https://tailwindcss.com)
2930

3031
## Contributions
31-
You can request new features and/or contribute to the extension development on its [repository on GitHub](https://github.com/Zignd/HTML-CSS-Class-Completion/issues). Look for an issue you're interested in working on, comment on it to let me know you're working on it and submit your pull request! :D
32+
You can request new features and contribute to the extension development on its [repository on GitHub](https://github.com/Zignd/HTML-CSS-Class-Completion/issues). Look for an issue you're interested in working on, comment on it to let me know you're working on it and submit your pull request! :D
3233

33-
## What's new in version 1.14.0 (Nov 10, 2017)
34-
* Added support for Tailwind CSS's @apply function in CSS, SASS and SCSS.
34+
## What's new in version 1.15.0 (Dec 27, 2017)
35+
* Added User Settings to consider or exclude folder and files from the caching process.
3536

3637
Check out the [change log](https://github.com/zignd/HTML-CSS-Class-Completion/blob/master/CHANGELOG.md) for the current and previous updates.
3738

3839
## Usage
39-
If there are HTML or JS files on your workspace, the extension automatically starts and looks for CSS class definitions. In case new CSS classes are defined or new CSS files are added to the workspace and you also want auto completion for them, simply hit the lightning icon on the status bar and execute the command by pressing `Ctrl+Shift+P`(`cmd+Shift+P` for Mac) and then typing "Cache CSS class definitions".
40+
If there are HTML or JS files on your workspace, the extension automatically starts and looks for CSS class definitions. In case new CSS classes are defined, or new CSS files are added to the workspace, and you also want auto-completion for them, just hit the lightning icon on the status bar. Also, you can execute the command by pressing `Ctrl+Shift+P`(`cmd+Shift+P` for Mac) and then typing "Cache CSS class definitions."
4041

41-
You can omit or exclusively include the folders to search for by using these configurations:
42-
`css-class-completion.includeGlobPattern` or `css-class-completion.excludeGlobPattern`.
42+
### User Settings
43+
You can change the folders and files the extension will consider or exclude during the caching process by setting the following User Settings:
44+
45+
* `html-css-class-completion.includeGlobPattern` (default: "**/*.{css,html}")
46+
* `html-css-class-completion.excludeGlobPattern` (default: "")
47+
48+
For now, you will have to hit the lightning icon so the changes can be recognized.
4349

4450
![](https://i.imgur.com/O7NjEUW.gif)
4551
![](https://i.imgur.com/uyiXqMb.gif)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "html-css-class-completion",
33
"displayName": "IntelliSense for CSS class names",
44
"description": "Provides CSS class name completion for the HTML class attribute based on the CSS files in your workspace. Also supports React's className attribute.",
5-
"version": "1.14.0",
5+
"version": "1.15.0",
66
"publisher": "Zignd",
77
"engines": {
88
"vscode": "^1.4.0"

yarn.lock

+93-14
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# yarn lockfile v1
33

44

5-
"@types/async@^2.0.40":
6-
version "2.0.40"
7-
resolved "https://registry.yarnpkg.com/@types/async/-/async-2.0.40.tgz#ac02de68e66c004a61b7cb16df8b1db3a254cca9"
8-
95
"@types/bluebird@*":
106
version "3.5.5"
117
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.5.tgz#3c7e8cf660b9d60ea25c787fdd258ddb6abb384d"
128

9+
"@types/bluebird@^3.5.16":
10+
version "3.5.19"
11+
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.19.tgz#1a47308819ac2d1d6d1ca4f5d800ac84924100de"
12+
1313
"@types/css@^0.0.30":
1414
version "0.0.30"
1515
resolved "https://registry.yarnpkg.com/@types/css/-/css-0.0.30.tgz#06dc18bb1c01d3c281c61b267dbaf9ec5b2bb0d6"
@@ -28,9 +28,11 @@
2828
version "4.14.63"
2929
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.63.tgz#5ac475f55bfdc62bc88c4239dbc482f2f3bead93"
3030

31-
"@types/mocha@^2.2.41":
32-
version "2.2.41"
33-
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.41.tgz#e27cf0817153eb9f2713b2d3f6c68f1e1c3ca608"
31+
"@types/mocha@^2.2.43":
32+
version "2.2.45"
33+
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.45.tgz#816572b6e45164526a36d4faa123e8267d6d5d0a"
34+
dependencies:
35+
"@types/node" "*"
3436

3537
"@types/node@*", "@types/node@^7.0.18":
3638
version "7.0.18"
@@ -113,12 +115,6 @@ assert-plus@^0.2.0:
113115
version "0.2.0"
114116
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234"
115117

116-
async@^2.4.0:
117-
version "2.4.0"
118-
resolved "https://registry.yarnpkg.com/async/-/async-2.4.0.tgz#4990200f18ea5b837c2cc4f8c031a6985c385611"
119-
dependencies:
120-
lodash "^4.14.0"
121-
122118
asynckit@^0.4.0:
123119
version "0.4.0"
124120
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -139,6 +135,10 @@ balanced-match@^0.4.1:
139135
version "0.4.2"
140136
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
141137

138+
balanced-match@^1.0.0:
139+
version "1.0.0"
140+
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
141+
142142
bcrypt-pbkdf@^1.0.0:
143143
version "1.0.1"
144144
resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d"
@@ -159,6 +159,10 @@ bluebird@^3.5.0:
159159
version "3.5.0"
160160
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c"
161161

162+
bluebird@^3.5.1:
163+
version "3.5.1"
164+
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
165+
162166
boom@2.x.x:
163167
version "2.10.1"
164168
resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f"
@@ -172,6 +176,13 @@ brace-expansion@^1.0.0:
172176
balanced-match "^0.4.1"
173177
concat-map "0.0.1"
174178

179+
brace-expansion@^1.1.7:
180+
version "1.1.8"
181+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
182+
dependencies:
183+
balanced-match "^1.0.0"
184+
concat-map "0.0.1"
185+
175186
braces@^1.8.2:
176187
version "1.8.5"
177188
resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7"
@@ -248,6 +259,10 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
248259
dependencies:
249260
delayed-stream "~1.0.0"
250261

262+
commander@2.11.0:
263+
version "2.11.0"
264+
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
265+
251266
commander@2.9.0, commander@^2.9.0:
252267
version "2.9.0"
253268
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
@@ -297,6 +312,12 @@ debug@2.6.0:
297312
dependencies:
298313
ms "0.7.2"
299314

315+
debug@3.1.0:
316+
version "3.1.0"
317+
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
318+
dependencies:
319+
ms "2.0.0"
320+
300321
deep-assign@^1.0.0:
301322
version "1.0.0"
302323
resolved "https://registry.yarnpkg.com/deep-assign/-/deep-assign-1.0.0.tgz#b092743be8427dc621ea0067cdec7e70dd19f37b"
@@ -311,6 +332,10 @@ diff@3.2.0:
311332
version "3.2.0"
312333
resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9"
313334

335+
diff@3.3.1:
336+
version "3.3.1"
337+
resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75"
338+
314339
dom-serializer@0:
315340
version "0.1.0"
316341
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82"
@@ -552,6 +577,17 @@ glob@7.1.1, glob@^7.0.5, glob@^7.1.1:
552577
once "^1.3.0"
553578
path-is-absolute "^1.0.0"
554579

580+
glob@7.1.2:
581+
version "7.1.2"
582+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
583+
dependencies:
584+
fs.realpath "^1.0.0"
585+
inflight "^1.0.4"
586+
inherits "2"
587+
minimatch "^3.0.4"
588+
once "^1.3.0"
589+
path-is-absolute "^1.0.0"
590+
555591
glob@^5.0.3:
556592
version "5.0.15"
557593
resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1"
@@ -576,6 +612,10 @@ graceful-fs@^4.0.0, graceful-fs@^4.1.2:
576612
version "1.0.1"
577613
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
578614

615+
growl@1.10.3:
616+
version "1.10.3"
617+
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f"
618+
579619
growl@1.9.2:
580620
version "1.9.2"
581621
resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
@@ -713,6 +753,10 @@ has-flag@^1.0.0:
713753
version "1.0.0"
714754
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
715755

756+
has-flag@^2.0.0:
757+
version "2.0.0"
758+
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51"
759+
716760
has-gulplog@^0.1.0:
717761
version "0.1.0"
718762
resolved "https://registry.yarnpkg.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce"
@@ -728,6 +772,10 @@ hawk@~3.1.3:
728772
hoek "2.x.x"
729773
sntp "1.x.x"
730774

775+
he@1.1.1:
776+
version "1.1.1"
777+
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
778+
731779
hoek@2.x.x:
732780
version "2.16.3"
733781
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
@@ -1032,7 +1080,7 @@ lodash.templatesettings@^3.0.0:
10321080
lodash._reinterpolate "^3.0.0"
10331081
lodash.escape "^3.0.0"
10341082

1035-
lodash@^4.13.1, lodash@^4.14.0:
1083+
lodash@^4.13.1, lodash@^4.17.4:
10361084
version "4.17.4"
10371085
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
10381086

@@ -1080,6 +1128,12 @@ mime-types@^2.1.12, mime-types@~2.1.7:
10801128
dependencies:
10811129
brace-expansion "^1.0.0"
10821130

1131+
minimatch@^3.0.4:
1132+
version "3.0.4"
1133+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
1134+
dependencies:
1135+
brace-expansion "^1.1.7"
1136+
10831137
minimist@0.0.8:
10841138
version "0.0.8"
10851139
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
@@ -1110,10 +1164,29 @@ mocha@^3.2.0:
11101164
mkdirp "0.5.1"
11111165
supports-color "3.1.2"
11121166

1167+
mocha@^4.0.1:
1168+
version "4.0.1"
1169+
resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.0.1.tgz#0aee5a95cf69a4618820f5e51fa31717117daf1b"
1170+
dependencies:
1171+
browser-stdout "1.3.0"
1172+
commander "2.11.0"
1173+
debug "3.1.0"
1174+
diff "3.3.1"
1175+
escape-string-regexp "1.0.5"
1176+
glob "7.1.2"
1177+
growl "1.10.3"
1178+
he "1.1.1"
1179+
mkdirp "0.5.1"
1180+
supports-color "4.4.0"
1181+
11131182
ms@0.7.2:
11141183
version "0.7.2"
11151184
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765"
11161185

1186+
ms@2.0.0:
1187+
version "2.0.0"
1188+
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
1189+
11171190
multimatch@^2.0.0:
11181191
version "2.1.0"
11191192
resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-2.1.0.tgz#9c7906a22fb4c02919e2f5f75161b4cdbd4b2a2b"
@@ -1522,6 +1595,12 @@ supports-color@3.1.2:
15221595
dependencies:
15231596
has-flag "^1.0.0"
15241597

1598+
supports-color@4.4.0:
1599+
version "4.4.0"
1600+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e"
1601+
dependencies:
1602+
has-flag "^2.0.0"
1603+
15251604
supports-color@^2.0.0:
15261605
version "2.0.0"
15271606
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

0 commit comments

Comments
 (0)