-
-
Notifications
You must be signed in to change notification settings - Fork 481
Open
Labels
Description
Vue - Official extension or vue-tsc version
Vue - Official extension
VSCode version
1.104.1
Vue version
3.5.16
TypeScript version
none
System Info
package.json dependencies
Steps to reproduce
Writing JSX code in the script tag。
What is expected?
The recognition of template interpolation should exclude script tags, or be implemented in a better way; it shouldn't be like this now.
What is actually happening?
Writing JSX code in the script tag, the {{}} is actually a literal object, yet it is still recognized by the plugin as template interpolation highlighting. Shouldn’t the plugin avoid recognizing content in the script tag as template interpolation? Is it possible that Vue’s template interpolation would be placed inside the script tag?
Link to minimal reproduction
No response
Any additional comments?
Please fix this bug as soon as possible.
zcf0508