Highlight all occurrences of the selected variable both in script
and template
#1381
Labels
duplicate
This issue or pull request already exists
script
and template
#1381
When you leave the cursor on a variable, it highlights all its occurrences. However, with Volar, the
script
andtemplate
sections don't communicate, so the highlighted variable will only show either withinscript
or withintemplate
.In this screenshot, the cursor is over the variable inside
script
. Note how its occurrences insidetemplate
are not highlighted:Now the cursor is over the variable inside
template
, and the occurrences insidescript
are not highlighted:I don't know whether this is some sort of technical limitation, but the variables should be highlighted everywhere they're used, all at the same time.
The text was updated successfully, but these errors were encountered: