From 224828d605e31c2dcd05df581253fd2fc5a34403 Mon Sep 17 00:00:00 2001 From: ecmel Date: Tue, 30 Jan 2024 12:12:33 +0300 Subject: [PATCH] updates --- README.md | 6 +++--- package.json | 4 ++-- src/extension.ts | 2 +- src/provider.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 096d728..953bae5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index c1f41c5..56d4d96 100644 --- a/package.json +++ b/package.json @@ -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" } ] }, diff --git a/src/extension.ts b/src/extension.ts index 353f953..5c7fff6 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -67,7 +67,7 @@ export function activate(context: ExtensionContext) { commands.registerCommand("vscode-html-css.clear", () => clear()) ); - return commands.executeCommand( + return commands.executeCommand( "vscode-html-css.validate", AutoValidation.ALWAYS ); diff --git a/src/provider.ts b/src/provider.ts index a9b2359..d498e32 100644 --- a/src/provider.ts +++ b/src/provider.ts @@ -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(); }