Quick Question: Is there a shortcut key or an add-on for VS Code that updates the path in the integrated terminal to the path of the file that is currently open??
For example: Powershell in the integrated terminal always opens in my C:\Users\andy
folder, but if I have a script in say c:\scripts\powershell\superdooperhacks\andysscript\
I need to cd
through a lot of folders to get there (or prepend the command with the entire path).
The only quick way I found so far is to right click on the file and Reveal in Explorer
and then open another Powershell session by right-clicking and... you get the idea. That means, I now have three windows open and it defeats the purpose of having an integrated shell.