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