CSS class name completions and validation for the Kensington JS HTML templating library.
Features
- Completions — autocomplete CSS class names from local stylesheets and CDN stylesheets linked in your project
- Diagnostics — highlights unknown CSS class names in Kensington templates with a warning underline
- Quick fixes — ignore a specific class name or disable diagnostics entirely from the inline lightbulb menu
Commands
| Command | Description |
|---|---|
Kensington: Refresh CDN CSS Cache |
Re-fetches CSS from any CDN <link> tags in your project |
Settings
| Setting | Default | Description |
|---|---|---|
kensington.enableDiagnostics |
true |
Highlight unknown CSS class names in Kensington templates |
kensington.ignoredClasses |
[] |
CSS class names to exclude from the unknown class diagnostic |