tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

Fix some unused imports cases #153

Closed unlocomqx closed 4 years ago

unlocomqx commented 4 years ago

This is a simplification of the SvelteReferencesSearch class, it solves more unused imports cases, maybe all Basically, it enlarges the search scope from the script to the entire file

Current

image

Improvement

2020-08-30_15-42

This can probably be done using <resolveScopeEnlarger/> but I'm not sure

unlocomqx commented 4 years ago

Oops, looks like we've been working on the same exact thing lol i'll close this one then

tomblachut commented 4 years ago

At least we have double-confirmation about direction being correct :P I wanted to do some tests around #146 first, merge that and release next version with improved import support