pranaygp / vscode-css-peek

A vscode extension for peeking at CSS definitions from a class or id tag in HTML
MIT License
142 stars 32 forks source link

Update activationEvents to only load when styles are in workspace #104

Closed willstocks closed 3 years ago

willstocks commented 3 years ago

Change "*" to "workspaceContains:**/*.css", "workspaceContains:**/*.scss", "workspaceContains:**/*.sass", "workspaceContains:**/*.less" to ensure extension only loads when there are relevant files to peek to

pranaygp commented 3 years ago

Thanks @willstocks

willstocks commented 3 years ago

Thanks @pranaygp 😄

Just launched and I can see that peek is now only loading when the workspace contains these file types! Knocked about 1s off vscode launch