Assuming, you have VS.Code running, here goes.
Open the Settings (JSON) File
I've found that the easiest way to do this is via the Command Palette (Ctrl+Shift+P) and searching for "terminal default" (without the quotes).
VS.Code Command Palette |
Pick the default shell |
Optionally: Change where your integrated shell opens by default
This does take a couple of steps. Summon up your command palette again and search for "open settings json"
VS.Code Command Palette - search |
This opens up a settings JSON file. Add the line shown below to the end of the file. If necessary, remember to add the comma at the end of the preceding line to make sure the JSON remains valid
Add a "terminal.integrated.cwd" to the end of the file |
Now when you open a file and open a integrated shell (Ctrl+' in windows) it should open a prompt in the same folder as the file you've opened.
Enjoy!
Source: VS.Code help article
Did this help? Something needs fixing or anything else - comment in the box below.