Is it because of Vue Language Features(Volar) version, or try updating it?
0 Answer
Is it because of Vue Language Features(Volar) version, or try updating it?
may others is good at using other
Since VSCode's Vue support is provided through plug-ins, you can try the following solutions to help you solve the problem:
Use VSCode's "Reset Settings" feature to reset all Vue plug-in Settings in VSCode;
Use VSCode's Clear cache feature to clear the cache of all relevant Vue plug-ins in VSCode;
Try to uninstall and then reinstall the VSCode Vue plug-in;
Search for and install the latest version of VSCode's Vue plug-in from the VSCode "Expansion store";
Try to test using different versions of VSCode and Vue plug-in versions.
the reference answer GPT ᴼ ᴾ ᴱ ᴺ ᴬ ᴵ < br / > the problem may be caused by the Volar plugin Settings, Volar is a Vue development plug-in, You can provide features such as autocompletion, syntax highlighting, code hints, and more. In the default Settings for Volar, $event is automatically added to the template.
< h2 > if you want to remove the automatically generated $event, can be found in the setting of VSCode "volar. Experimental. TemplateInterpolationService" and it is set to false, so you can disable this feature.Also, if you disable the Volar plug-in and the code prompt and completion functions fail, it may be because of other plug-ins and Settings conflicts. You can try to re-enable Volar and check for additional plug-ins or Settings, or add additional plug-ins one by one after reinstalling the Volar plug-in to eliminate conflicts.
这家伙很懒,什么都没留下...