如果子文件夹为空,vscode 会像屏幕快照那样合并它们。有没有办法让它失效?对我来说很困惑,也很难使用。
Disable/uncheck Explorer: Compact Folders in your settings.
Explorer: Compact Folders
Related info from release notes: Is there a way to unify single-folder folders in vs code?
In VsCode on MAC go to Code (top left hand corner)
Preferences
Settings
compact folders
In VsCode on WINDOWS go to File (top left hand corner)
Ctrl/Cmd+,
Compact Folders