Skip to content

Commit 1664269

Browse files
committed
Automatic re-caching when the extension's User Settings change
1 parent 3b0a6ea commit 1664269

File tree

6 files changed

+2899
-1838
lines changed

6 files changed

+2899
-1838
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 1.16.0 (Jan 14, 2018)
2+
* Automatic re-caching when the extension's User Settings change.
3+
14
### 1.15.0 (Dec 27, 2017)
25
* Added User Settings to consider or exclude folders and files from the caching process.
36

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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 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 definitions found in your workspace or external files referenced through the `link` element.
44

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

77
## Features
8-
* 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)
8+
* Gives you autocompletion for CSS class definitions that can be found in your workspace (defined in CSS files or the in the file 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
1111
* User Settings to override which folders and files should be considered or excluded from the caching process
@@ -31,21 +31,21 @@ A Visual Studio Code extension that provides CSS class name completion for the H
3131
## Contributions
3232
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
3333

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.
34+
## What's new in version 1.16.0 (Jan 14, 2018)
35+
* Automatic re-caching when the extension's User Settings change.
3636

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

3939
## Usage
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."
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."
4141

4242
### User Settings
4343
You can change the folders and files the extension will consider or exclude during the caching process by setting the following User Settings:
4444

4545
* `html-css-class-completion.includeGlobPattern` (default: "**/*.{css,html}")
4646
* `html-css-class-completion.excludeGlobPattern` (default: "")
4747

48-
For now, you will have to hit the lightning icon so the changes can be recognized.
48+
Changes to these settings will be recognized by the extension and the caching process will be automatically executed.
4949

5050
![](https://i.imgur.com/O7NjEUW.gif)
5151
![](https://i.imgur.com/uyiXqMb.gif)

0 commit comments

Comments
 (0)