I'm using VS Code on Mac. I frequently use integrated terminal in VS Code for performing command line operations relevant to my workspace/project [instead of using Terminal or iTerm].
I am able to use autocomplete for basic shell commands via Integrated terminal in VS Code.
For example doing cd
followed by a Tab
automatically suggests possible directory options for me [just like Terminal or iTerm would].
However, this automatic suggestion doesn't work for git commands.
For example, doing git br
followed by a Tab
should complete to git branch
but that's not working.
I looked at User Settings in VS Code [by invoking Cmd + Shift + P
-> User Settings -> User -> Extensions -> Git
I verified my default terminal for Mac is "Terminal". But however, it's not picking Git commands for autocomplete.
What's missing?
Related issue: https://github.com/Microsoft/vscode/issues/17748