Closed r00t3g closed 1 year ago
Hi. It should work in latest release. What version of plugin and IDE are you running? Also, what "SUBJ" means? Thanks
@tomblachut IDE is IntelliJ Idea 2020.3.3, plugin - 0.18.0.203 Removed the SUBJ, sorry :)
It looks that it breaks only when the variable usage follows some text and works OK in any other case:
Cmd/Ctrl+Click navigation also seems not to work the variable.
Oh ok, I've reproduced the problem. Thanks for reporting.
This is a bug in parser. Happens specifically inside title and similar because according to MDN only text is allowed inside
This is actually a regression 😔 https://youtrack.jetbrains.com/issue/WEB-41745.
Related to #142
Migrated to WEB-61785 Svelte: properly parse title tag content
Therefore, as the variable is treated as unused, its import gets removed when running 'Reformat code' with 'Optimize imports' option. Apart from all other problems like not found usages etc.