Visual Studio Code 中,将打开新终端的目录设为当前文件所在的目录

在 File → Preferences → Settings 中,找到 Terminal.Integrated.Cwd 一项,填入

${
    
    fileDirname}

猜你喜欢

转载自blog.csdn.net/COFACTOR/article/details/119541074