SlickEdit Product Discussion > Features and/or Improvements

Multiple buffers with the same filename (2)

(1/1)

jporkkahtc:
When there are multiple windows with the same file they get an identifier added in the tab, like: MyFile.x:1, MyFile.x:2

I'd like to see this with multiple buffers that have the same filename.
For example:
C:\src\repo1\subdir\MyCode.c (a)
C:\src\repo2\subdir\MyCode.c (b)

To me this is more important to distinguish than multiple windows with the same file.
Also, it is far more common (for me at least) -- I often have multiple copies of a repo and open the same file from two repos for comparison / reference.

Hmmm... the two features interacting:
C:\src\repo1\subdir\MyCode.c:1 (a)
C:\src\repo2\subdir\MyCode.c:1 (b)
C:\src\repo1\subdir\MyCode.c:2 (a)
C:\src\repo2\subdir\MyCode.c:2 (b)

rygaard:
Go to Tools->Options->Editing->Editor Window->Abbreviate file tab captions.  Turn it off.

Does that scratch your itch?

jporkkahtc:
No ... all the files have exactly the same name, just a different path.

Dennis:
To keep it compact, how would you like this instead of the full paths?

...repo1...\MyCode.c
...repo2...\MyCode.c

That is, just collapses the common path elements in the beginning and end to ...
If they have nothing in common, then you would see full paths, like this:

C:\Temp\MyCode.c
D:\Source\repo1\subdir\MyCode.c

If that sounds good, I'll file a FR.  I would rather have it put in the path information than synthesize the artificial (a), (b), etc.

jporkkahtc:
That would be kind of awesome.
Sort of like running intraline Diff and highlighting the differences.

Navigation

[0] Message Index

Go to full version