- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 432
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
script template Out of sync between #462
Comments
Thanks for the report! But this required changes is conflict to embedded language support design, script code and template code actually in different virtual scripts, selection ranges is not easy to support cross file. On the other hand, I'm not sure if this is the right design, because variables are different sources in script and template. |
@johnsoncodehk Although technically they are different variables, for development purposes they are, effectively, the same. Highlighting simultaneously in both scripts would be extremely useful in large components. Please reconsider implementing this. Thank you. |
@rodrigocfd Unfortunately I haven't thought of a proper way to implement it currently, use find references on each mouse click sounds too much calculate. |
Hi @johnsoncodehk, I just want to report that I updated Volar this morning and this feature is working. I consider it a huge quality of life improvement. Thank you very much for your work. |
Single click variable activeMode , can't highlight activeMode in template
Double click variable activeMode , also highlight activeModeElse in script
The text was updated successfully, but these errors were encountered: