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

Vue - official extension makes saving slow

Open saurabhjadhav45 opened this issue 1 year ago • 3 comments

Type: Bug

Vue - official extension makes saving code in Visual Studio Code slow

Extension version: 2.0.8 VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.86GB (0.73GB free)
Process Argv --crash-reporter-id 52866b0d-3d57-4a7c-b18d-dc925c96b9f0
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
bf62j303:30959262
cppperfnew:31000557
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
666c4381:30973075
gee8j676:31009558
dsvsc021:30996838
da93g388:31013173
pythoncenvpt:31022790

saurabhjadhav45 avatar Apr 28 '24 10:04 saurabhjadhav45

Can confirm. It used to be fast with the Typescript Vue Plugin, but has been incredibly slow since the latest changes.

julianpung avatar Apr 29 '24 08:04 julianpung

I have the same issue. VSCode's formatter goes crazy when Vue extension (and ESLint?) is active and this icon keeps shaking.

CleanShot 2024-05-04 at 00 26 14@2x

I restart extensions host to temporarily fix it

Mehdi-Hp avatar May 03 '24 20:05 Mehdi-Hp

Setting hybrid mode to this fixes it for me.

"vue.server.hybridMode": "typeScriptPluginOnly"

Mehdi-Hp avatar May 06 '24 20:05 Mehdi-Hp

Setting hybrid mode to this fixes it for me.

"vue.server.hybridMode": "typeScriptPluginOnly"

Works to me too. Takes me 3hrs to find this out. Big thanks!

nonafox avatar Jul 29 '24 05:07 nonafox

Is this one still an issue in the latest 2.x? Can you provide a minimal project so we can reproduce it?

davidmatter avatar Aug 06 '24 06:08 davidmatter