I have installed both visual studio code and git bash on a custom directory in my C:\users\myname\vsc, and C:\users\myname\git folder.
So for some reason, visual studio code is not able to detect git bash terminal when I click
on Terminal > Select default Profile.
I tried to add this to add bash as a new terminal
"terminal.integrated.shell.windows": "C:\\Users\\myname\\github\\bin\\bash.exe"
but vsc is saying that this setting is deprecated so I tried this after reading its documentation page.
{ "terminal.integrated.profiles.windows": {
"Bash": {
"source": "Git Bash",
}
}
}
but this is also not working, so how I can solve this issue?
C:\Users\myname\AppData\Local\Programs\Microsoft VS Code), but I installed git to a different path (E:\Git). All I did was to reinstall git to the default path (C:\Program Files\Git) and Git Bash is now visible to my VS Code. Got that solution here if you want to know more dev.to/jemengullo/comment/1gakp