Win vscode Terminal默认进入Python cmd虚拟环境

user settings 里加上:

"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",

"terminal.integrated.shellArgs.windows": ["/K", "%CD%/venv/Scripts/activate"]

你可能感兴趣的:(Win vscode Terminal默认进入Python cmd虚拟环境)