VS Code: change the default path of integrated terminal to current file’s directory
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.
Comments