Skip to content
Discussion options

You must be logged in to vote

The problem has something to do with the VSCode default terminal setting.
(This solution hit me by chance and happily it works.)

What I tried later.

(1) File → Preferences → Settings menu → click the to open the 'setting.json' file.

(2) change the "terminal.integrated.defaultProfile.windows":"Git Bash", to "terminal.integrated.defaultProfile.windows": "Windows PowerShell",

and then IMPORTANTLY!

(3) comment out the following line of code:

"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",

Why?

Because, step (2) will not come into effect unless "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", is commented out.
VSCode CURRENTLY give…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@xinhuaChenW
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by xinhuaChenW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants