You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-7
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# IntelliSense for CSS class names
2
2
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.
4
4
5
5

6
6
7
7
## Features
8
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)
9
9
* Supports external stylesheets referenced through `link` elements in HTML files
10
10
* 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
11
12
12
13
## Supported Language Modes
13
14
* HTML
@@ -28,18 +29,23 @@ A Visual Studio Code extension that provides CSS class name completion for the H
28
29
*@apply in CSS, SASS and SCSS Files for [Tailwind CSS](https://tailwindcss.com)
29
30
30
31
## 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
32
33
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.
35
36
36
37
Check out the [change log](https://github.com/zignd/HTML-CSS-Class-Completion/blob/master/CHANGELOG.md) for the current and previous updates.
37
38
38
39
## 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 autocompletion 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."
40
41
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:
Copy file name to clipboardExpand all lines: package.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "html-css-class-completion",
3
3
"displayName": "IntelliSense for CSS class names",
4
4
"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.",
0 commit comments