【发布时间】:2021-02-13 00:15:36
【问题描述】:
我在c:\github\housing\python 中有一个名为sync.py 的文件。当它在我的 VS Code 浏览器中打开时,我按 Ctrl F5 来执行它。当我这样做时,这就是我在 PowerShell 中看到的:
PS C:\github\housing\python> cd 'c:\github\twitter'; & 'C:\Users\azhad\Anaconda3\python.exe' 'c:\Users\azhad\.vscode\extensions\ms-python.python-2020.9.114305\pythonFiles\lib\python\debugpy\launcher' '52870' '--' 'c:\github\housing\python\sync.py'
为什么 VS Code 会更改为不同的目录?我注意到它似乎倾向于 twitter 文件夹,有没有我可以更改的默认设置来防止这种情况发生?
【问题讨论】: