Issue #11 (Open Editors Settings)07/06/22
|
Get a weekly dose of tools, articles, and other resources covering remote work, productivity, career well-being, and lots more.
|
|
|
There are a few customizations you can make on VS Code's "open editors" pane when your Explorer pane is opened. The Explorer sidebar is opened by clicking on the Explorer button or hitting CTRL/CMD-E. If you have multiple files you're working on, you'll see something like this:
Notice under "Open Editors", all the files I'm currently working on are displayed. To tweak how the Open Editors functions, open your UI Settings and type "openeditors" in the search box. You'll see three different settings you can change.
The first setting is probably best to keep at "0". This way the Open Editors pane doesn't have any extra slots, only enough slots for how many files are open. I'm not sure if anyone would find a value higher than zero useful. Maybe for keeping a consistent UI look?
The other two settings are, in my opinion, more useful. First, you can
sort the files in the Open Editors panel by one of three options: Choosing "editorOrder" sorts the files in the same order they appear as tabs in the editor window. This means if you drag a tab to a new location, the order in the Open Editors Pane will change to reflect the new tab order. You can also choose to sort the files alphabetically or by full path name.
The final Open Editors pane setting allows you to
change the maximum number of editors shown in the list. Setting this to "0" removes the "Open Editors" pane altogether. A setting of "1" would seem like the other practical choice, which might work for those who just want the one file they're currently editing to be listed, regardless of how many tabs are actually open.
I think in most cases you'll set this to a higher number (for example the default of "9") to ensure all current files being worked on are visible. But I suppose there could be a use case where some developers prefer to only see a maximum of 5 editors shown in the list.
Now on to this week's hand-picked links!