Often, I have equally named files open, mostly some README.md files. With Ctrl+Tab is currently not possible to find the correct one instantly.
Screenshot BEFORE:
{F6312987}
This POC extends the Ctrl+Tab list with a new column to the left of the filename. It contains the partial paths to the file in grey color. Not the whole paths are shown the common prefix of the strings are stripped away to avoid showing redundant information.
Screenshot AFTER:
{F6312988}
ISSUES:
- The code is a first POC for review if the left column, the grey color and the right-alignment is ok.
- Or is it better to only show the first parent folder (and more if it is still not unique; but this would be another algorithm)?
- It is not optimized and cleaned yet.
- One obvious thing that does not work yet is the auto-sizing of the columns (see the first file which is located in "asynckit" but only "asyn" is displayed. Strange. I havn't figured out how to handle this properly.