-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delay when saving files in projects with tasks.json #19945
Comments
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: |
That is a great idea. I tried it and it still had the slowdown but it got me thinking that it might have been something in my project so I managed to narrow down the test case to make it reproducible. |
I've updated the issue title and description with the steps to reproduce. It seems to be triggered by the presence of a |
Please see if you can find any logged output that could help us find the source of the issue:
Thanks! |
Attached is a Gist with the Terminal console log and the web console log. I ran it with extensions disabled to ensure I wasn't logging any extra junk from my extensions. https://gist.github.com/gshaw/0d76fae2a6fa147501d8a740982390a8 Unfortunately I'm not seeing anything of much help to move this along. The only thing I did notice was the log message for Is anybody else able to duplicate the problem? I'll try on Monday (Pacific Time) when I have access to other Macs and comment back here. |
I didn't hit any breakpoints during save but looking at #19733 this issue seems like it's resolved. If you need any other info let me know. The fast response and great communication is much appreciated. |
Yeah we fixed it and will backport it to a 1.9.1 release. |
Steps to Reproduce:
test.txt
file (e.g., add a blank line) and save changes (File > Save)Expected: File to immediately save as it did with 1.8.1 (and verified after downgrading to 1.8.1)
Actual: File saves but with approximate 1 second delay.
Workarounds:
tasks.json
The text was updated successfully, but these errors were encountered: