vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.55k stars 373 forks source link

How to comment tempalte code with <!-- --> ,not {{/* */}}? #4394

Closed 717009629 closed 1 week ago

717009629 commented 1 month ago

After I updated vscode vue-office extension, I comment tempalte code from \ to {{/ /}}. How to comment tempalte code with \,not {{/ /}}?

[vite] Internal server error: Error parsing JavaScript expression: Unexpected token (1:9)
  Plugin: vite:vue
  File: index.vue

  10 |      {{/*    */}}
     |        ^
littlecxm commented 1 month ago

same problem here it happend when I use comment shortcut the Ctrl+/

image

"vue.server.hybridMode" set to false

*update disabled all vscode plugin it works, in my case it's https://github.com/theNewDynamic/language-hugo-vscode fault

well I guess it maybe vscode plugin conflict with some reason even i change lang back to html

image