Skip to content

Commit bd8c1e1

Browse files
author
Angelinsky7
committed
Update extension.js
Add command to refresh completion
1 parent a5438e6 commit bd8c1e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

html-css-class-completion/extension.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ function activate(context) {
138138
});
139139
context.subscriptions.push(disposable);
140140

141+
var disposable = vscode.commands.registerCommand('extension.html-css-class-completion.refresh', () => {
142+
fetchAllCssRulesInCssFiles();
143+
});
144+
145+
context.subscriptions.push(disposable);
146+
141147
fetchAllCssRulesInCssFiles();
142148
//fetchAllCssRulesInHtmlFiles();
143149
}

0 commit comments

Comments
 (0)