I have tried all of the following:
-
Reinstalled VS Code
-
Cleared all roaming cache
-
removed all extensions
-
updated these
settings.json
{ "terminal.integrated.defaultProfile.windows": "GitBash", "terminal.integrated.rendererType": "auto", "terminal.integrated.allowChords": false, "terminal.integrated.drawBoldTextInBrightColors": false, "terminal.integrated.experimentalLinkProvider": false, "terminal.integrated.gpuAcceleration": "off", }
Whenever I press Enter in the terminal it takes nearly 5 seconds to return to the command prompt.
I think this problem began when I had Docker running in the background and there was some lag and I hit Enter several times to put space between my last failed test. Now it’s always taking so long. I am using Git Bash as my terminal. Git Bash terminal outside of VS Code is fast.
Why is VS Code using Git Bash as the terminal suddenly really slow?
2
Answers
Ok I solved the problem. Not sure why it went weird in the first place but this is it:
Now the terminal is super fast !!!
This issue seemed to be corrected in the latest VSCode update.
Version: 1.90.1 (user setup)
Commit: 611f9bfce64f25108829dd295f54a6894e87339d
Date: 2024-06-11T21:01:24.262Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045