Author Topic: Multiple buffers with the same filename (2)  (Read 353 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2585
  • Hero Points: 209
  • Text
Multiple buffers with the same filename (2)
« on: May 21, 2022, 07:00:48 pm »
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

  • Community Member
  • Posts: 44
  • Hero Points: 0
Re: Multiple buffers with the same filename (2)
« Reply #1 on: September 03, 2022, 07:08:59 pm »
Go to Tools->Options->Editing->Editor Window->Abbreviate file tab captions.  Turn it off.

Does that scratch your itch?