Sometimes when I'm working I end up with several open tabs. My problem is that every time I need to switch to another file I need to constantly scroll until I find the desired file (which is not always easy to find).
For example, I may have over 30 open files, but I'm currently working only on 3 - 5 on which I constantly switch.
Those files should be kept together at top (sorted by last used/saved) instead on the date they were first opened.
Top tabs aren't sorted either.
Android Studio does a better job on this, so I thought Visual Studio Code may have a preference for it.
Is there a property to change this? I couldn't find a hint on settings.
With release v1.52.0 being shipped you can sort open editors. From the release notes:
There is a new setting
explorer.openEditors.sortOrder
to control the sort order in the OPEN EDITORS list.The values are:
editorOrder
- Editors are listed in the same order as editor tabs are shown (default).alphabetical
- Editors are listed in alphabetical order inside each editor group.
It seems this will be possible with the next November release v1.52.0 (Reference). This release is expected to be shipped early December 2020.
This is currently not possible.
However the VS Code team is aware of this feature request and it can be tracked here.