language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

保存代码,Vue - Official 经常提示?

Open J-env opened this issue 11 months ago • 16 comments

Vue - Official extension or vue-tsc version

Vue - Official v2.2.0, vue-tsc^2.2.0

VSCode version

1.96.3 (Universal)

Vue version

3.5.13

TypeScript version

^5.7.3

System Info

System:
    OS: macOS 13.2.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.02 GB / 16.00 GB
  Binaries:
    Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm

package.json dependencies

{
"dependencies": {
    "@vue/reactivity": "3.5.13",
    "vue": "3.5.13"
},
"devDependencies": {
    "@astrojs/check": "^0.9.4",
    "@astrojs/vue": "^4.5.3",
    "@types/file-saver": "^2.0.7",
    "@types/node": "^22.10.5",
    "astro": "^4.16.18",
    "prettier": "^3.4.2",
    "prettier-plugin-astro": "^0.14.1",
    "tailwindcss": "^3.4.17",
    "typescript": "^5.7.3",
    "vue-tsc": "^2.2.0"
  },
}

Steps to reproduce

在 *.vue 文件中保存代码,经常提示这个,而且一直这样不停止, 但是可以点击跳过后,然后重启 vs code 就好了。

What is expected?

保存代码应该更快速

What is actually happening?

Image

Link to minimal reproduction

No response

Any additional comments?

No response

J-env avatar Jan 16 '25 02:01 J-env

Yes, me too.

Image

hsiangfeng avatar Jan 16 '25 02:01 hsiangfeng

+1

Jason-linjiayu avatar Jan 16 '25 06:01 Jason-linjiayu

Can using this solve the problem?

volar-2.2.0.vsix.zip

KazariEX avatar Jan 16 '25 06:01 KazariEX

+1

15701658745 avatar Jan 17 '25 05:01 15701658745

At This week from?,really badddd......,I know of an extension that does that regularly

ameryu716 avatar Jan 17 '25 09:01 ameryu716

+1 +1

BWrong avatar Jan 17 '25 10:01 BWrong

Can using this solve the problem?使用此方法可以解決問題嗎?

volar-2.2.0.vsix.zip

I used this method to solve the problem, thx :-)

hsiangfeng avatar Jan 20 '25 07:01 hsiangfeng

Same problem here when trying to save the vue file the extension freezes and takes several minutes to process the action, sometimes it can't even be resolved and you need to disable the extension to resolve it.

Image

Merieli avatar Jan 20 '25 17:01 Merieli

有什么进展吗?,最近几周非常影响开发体验

zzh948498 avatar Feb 10 '25 07:02 zzh948498

Can using this solve the problem?

volar-2.2.0.vsix.zip

KazariEX avatar Feb 10 '25 08:02 KazariEX

Can using this solve the problem? volar-2.2.0.vsix.zip

请问这跟我在插件市场安装的2.2.0版本有区别吗?这个bug不容易复现,但是出现我就不得不重启vscode。我这几天可以尝试一下你这个

zzh948498 avatar Feb 11 '25 00:02 zzh948498

Does the latest version still have this issue?

KazariEX avatar Feb 18 '25 16:02 KazariEX

Does the latest version still have this issue?

yes

Dunn-liu avatar Feb 19 '25 06:02 Dunn-liu

Does the latest version still have this issue?

For me its working much better now with VSCode 1.97.2 and Vue - Official 2.2.2. Only the suggestions with ctrl+space and some hints on hover where not working properly. For that i had to set "Vue: Server Hybrid Mode" to "false".

fk-aconso avatar Feb 19 '25 08:02 fk-aconso

关注,同样的问题,三天两头出现,期待官方解决。Vue - Official 2.2.4,VSCode 1.97.2

Zbun avatar Feb 27 '25 02:02 Zbun

mark一下,2.2.8最新也是这样情况

cometlj avatar Apr 11 '25 09:04 cometlj

我也有这个问题,导致文件无法保存,开发无法热加载,只能换旧版本的扩展了

jjxpeak avatar Apr 22 '25 07:04 jjxpeak

换成2.0.6可以用了,至少卡顿不明显了

cometlj avatar Apr 22 '25 07:04 cometlj

Please update VSCode extension to 3.0. If the problem still exists, please provide a minimal reproduction.

johnsoncodehk avatar Jul 05 '25 11:07 johnsoncodehk