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?
Ok I solved the problem. Not sure why it went weird in the first place but this is it:
"terminal.integrated.profiles.windows": {
"GitBash": { "path": "C:\\Program Files\\Git\\bin\\bash.exe", "icon": "terminal-bash" }
},
"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",
Now the terminal is super fast !!!