Skip to content

Why does it cache all the css files located in workspace? #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zbandhan opened this issue Mar 25, 2019 · 2 comments
Open

Why does it cache all the css files located in workspace? #179

zbandhan opened this issue Mar 25, 2019 · 2 comments

Comments

@zbandhan
Copy link

I only want the CSS files linked with html to be cached other than all CSS files from several project folders located in workspace.

@LuisMayo
Copy link

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

@andrecasal
Copy link

I suggest adding a user setting called "cacheAll": true|false. I can see two benefits from this functionality:

  1. 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)
  2. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants