About "Saving time is too long" #2740
Replies: 26 comments 26 replies
-
Very serious problem, especially for big project, cannot save code change in 1 mins somtimes on windows |
Beta Was this translation helpful? Give feedback.
-
Having these issues in a very small project with eslint+prettier configs/plugins 😞 |
Beta Was this translation helpful? Give feedback.
-
Also have problems in a small project |
Beta Was this translation helpful? Give feedback.
-
I also have the problem. |
Beta Was this translation helpful? Give feedback.
-
Does anyone else here have the prettier-tailwind plugin installed? We've seen major slowdowns with 0.2.6+ tailwindlabs/prettier-plugin-tailwindcss#144 |
Beta Was this translation helpful? Give feedback.
-
How can I disable this message? |
Beta Was this translation helpful? Give feedback.
-
I'm also having this problem. Sometimes it takes more than a minute just to save a file. |
Beta Was this translation helpful? Give feedback.
-
Is there any plan to resolve this issue by us or vscode? |
Beta Was this translation helpful? Give feedback.
-
Disabling this option fixed vscode slowdowns for me:
|
Beta Was this translation helpful? Give feedback.
-
I am experiencing the same issues in Stacks.js currently, too. Will see within the next few days if I can find a way to resolve the issues for myself there. Will report back here, if I do 🙂 Stacks is very similar to Vitesse, in several ways. It uses Vue as its UI engine, UnoCSS as its CSS engine, Vite & unbuild as its build system, and a whole host of other well-known community packages, to form a sophisticated foundation for the upcoming Stacks ecosystem. The code base is not anywhere near stable yet, so I am not going to rule out any other issues, but it did start degrading heavily in performance within the last month. Even though I upgraded around that time to an M2 Pro, my M1 Air was performing much better last month—which led me to deep-dive profiling today until I found this thread |
Beta Was this translation helpful? Give feedback.
-
I am under time constraints in my project so didn't have time to dig this further and I had to disable much needed linting/formatting tools to get rid of this minutes of wait times, never had such behaviour with an extension before :/ |
Beta Was this translation helpful? Give feedback.
-
Disgustingly brute force but reboots everything long enough to snap my plugins out of their drunken stupor:
Tie this in with |
Beta Was this translation helpful? Give feedback.
-
any solutions? :/ |
Beta Was this translation helpful? Give feedback.
-
any solutions? :/ |
Beta Was this translation helpful? Give feedback.
-
hellooo 🙏🙏🙏 |
Beta Was this translation helpful? Give feedback.
-
For people asking for a fix/complainers: We've probably had over 10 related issues until now, but none of them provided a reproduction, and we couldn't even investigate it. We can't do more than prompt to disable code actions. Honestly I'm exhausted from this, please provide a reproduction, or shut up. |
Beta Was this translation helpful? Give feedback.
-
same,When the project is large, it can be slow to save |
Beta Was this translation helpful? Give feedback.
-
vscode team want people to abandon vue maybe |
Beta Was this translation helpful? Give feedback.
-
The only way I've been able to get this sped up at this point is to disable the vue codeActions. I'm curious if someone can quickly explain what these codeActions are doing? My code still gets fixed by eslint super quickly on save, so am I actually missing out on anything? |
Beta Was this translation helpful? Give feedback.
-
For me, the issue ended up being that I had the extensions Vue Language Features (Volar) and TypeScript Vue Plugin (Volar) installed at the same time. As soon as I disabled the TypeScript extension, my saves went back to normal. I'm still able to use TypeScript without any issues, so I'm honestly not sure why the official documentation states that you need both. |
Beta Was this translation helpful? Give feedback.
-
Is there a place where I can find out what code actions this plugin is providing? I've found that disabling the plugin's code actions with |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Someone told me that the problem no longer occurs after upgrading to VSCode 1.81.0-insider, if you still have this problem please take a try with 1.81.0-insider. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
volarjs/volar.js#66 has been released in v1.8.16, please give it a try and see if there are still performance issues. |
Beta Was this translation helpful? Give feedback.
-
VSCode update sometimes change the scheduling strategy of codeActions and formatting execution, which may cause performance problems when users install a specific extension combination and enable
editor.codeActionsOnSave
.The reason behind this may be that VSCode emits document changes events multiple times during a save cycle, which causes extensions based on TypeScript LanguageService to perform expensive TS state synchronization multiple times. However, I haven't actually encountered this problem, so this is just a wild guess.
For this problem, we have nothing can do in Volar, so after v1.4.0, we just prompt you to disable Volar's codeActions when we detect that the storage time is too long.
Beta Was this translation helpful? Give feedback.
All reactions