Go to Preference -> Settings -> terminal.integrated.cwd
, fill in ${fileDirname}
. Now every time you open a new terminal in VS Code, it will start at the directory of your current file.
blog comments powered by Disqus
Go to Preference -> Settings -> terminal.integrated.cwd
, fill in ${fileDirname}
. Now every time you open a new terminal in VS Code, it will start at the directory of your current file.