HTML-CSS-Class-Completion
HTML-CSS-Class-Completion copied to clipboard
Why does it cache all the css files located in workspace?
I only want the CSS files linked with html to be cached other than all CSS files from several project folders located in workspace.
Leave both behaviors on and allow user to change them.
Disabling current behavior and doing what OP suggested will break the extension on framework-powered projects like Angular projects
I suggest adding a user setting called "cacheAll": true|false
. I can see two benefits from this functionality:
- If no suggestions appear on the suggestion box while trying to autocomplete class names, that tells the user there's something wrong with the linked css file (maybe he forgot to link the css file or the path is wrong)
- It avoids pollution of the suggestion box when you're not working with a framework like Angular.
@zignd isn't this just a matter of reading the user setting and disabling caching all the files while leaving the <link>
'd files cached?