subhaze / CSS-Extended

CSS Completions, LESS Completions, SCSS Completions
94 stars 15 forks source link

Add Options #10

Closed JustMaier closed 10 years ago

JustMaier commented 10 years ago

Love the plugin. It would be great if it had a few options like:

subhaze commented 10 years ago

css_cache_project_folders was replaced by adding a context menu item to the side bar to add folders within a project to be indexed/cached.

subhaze commented 10 years ago

@JustMaier for "Auto clear cache on close. "autoclear_css_cache":true" there's really no good way, from what I can see, to tell when ST is closed down other than a view.

I'm thinking it might make more sense to have an option for 'save_cache_to_file: "true|false"'

Would that work for the suggestion you made?

JustMaier commented 10 years ago

Works for me. It would essential be the same thing, just keeping the cache in memory and flushing it when ST closes.

subhaze commented 10 years ago

@JustMaier OK cool, I've got that in. Was just making sure you weren't wanting to just show completions on views that were currently open within ST and clearing any cached indexes out on view close.