Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Jan 30, 2024
1 parent 3526374 commit 224828d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ If you are using Bootstrap CDN:

## Commands

### Validate selectors
### Validate class selectors

Validates all `class` selectors in the active editor.

### Clear style cache
### Clear style sheets cache

Clears style cache.
Clears style sheets cache.

## Sponsor

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
"commands": [
{
"command": "vscode-html-css.validate",
"title": "CSS: Validate selectors"
"title": "CSS: Validate class selectors"
},
{
"command": "vscode-html-css.clear",
"title": "CSS: Clear style cache"
"title": "CSS: Clear style sheets cache"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function activate(context: ExtensionContext) {
commands.registerCommand("vscode-html-css.clear", () => clear())
);

return commands.executeCommand(
return commands.executeCommand<void>(
"vscode-html-css.validate",
AutoValidation.ALWAYS
);
Expand Down
2 changes: 1 addition & 1 deletion src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class Provider implements CompletionItemProvider, DefinitionProvider {
}

export function clear() {
window.showInformationMessage(`CSS: Style cache (${cache.size}) cleared.`);
window.showInformationMessage(`Style sheets cache cleared: ${cache.size}`);
cache.clear();
}

Expand Down

0 comments on commit 224828d

Please sign in to comment.