当我单击子文件夹中的文件时,资源管理器会在工作区文件夹中显示该文件,并且子文件夹会自动关闭。例如,>
当我单击“ test1”文件夹下的“ test1.py”时,资源管理器将其显示在“ testspace”下,并关闭“ test1”文件夹。
如何禁用此行为?
这是我的文件夹的结构:
testspace/ testspace.code-workspace test1/ test1.py test2/ test2.py
testspace.code-workspace的内容:
{
"folders": [
{"path": "."},
{"path": "test1"},
{"path": "test2"}
],
"settings": {
"files.exclude": {
"test1": true,
"test2": true,
}
}
}
当我单击子文件夹中的文件时,资源管理器会在工作区文件夹中显示该文件,并且子文件夹会自动关闭。例如,当我单击“ test1”文件夹下的“ test1.py”时,资源管理器...
此feature
称为自动对焦,可以在settings.json中禁用它。