Persist Drill-Down/Opened Files in Project View
This is incredibly frustrating and implemented in ST and VS Code by default; I'm hoping I haven't found the correct setting but that it exists.
When I drill down to a file in the left-hand Project view, if I drill-up on a higher level folder (like the top of the project, so I don't have to scroll forever to see my other projects I need to edit) it will not save where you were drilled down into. So if I was drilled down 5 layers editing a specific file that I want to find again, I have to navigate all the way back or find the file and make it open on the left that way (this is awful default behavior).
Example:
tests
├── bench
└── lib
└── error-boundary.js
Imagine this file structure; if I drill down from tests->bench->lib->error-boundary.js, then I minimize the top level 'tests' or anywhere above error-boundary.js, my place is no longer saved and I have to re-drill every single time.
Please sign in to leave a comment.
Not sure I follow you... Do you mean the that tree state should be preserved on collapsing/expanding the node, so that on re-expanding the tests folder the nested folders are expanded?
Current behavior (collapsing subnodes on collapsing a parent folder) has been implemented at multiple users requests... You can disable it by unchecking async.project.view.collapse.tree.path.recursively Registry key (Help | Find action, type Registry... to locate it)
Yes!!!!!! You did a much better job explaining the problem, and that was indeed what I was looking for. Thanks so much!