Show Contained Folder Name in Eclipse Tab of File

I have the same set of files in N folders, one of them is, say, blank.xhtml . The files contain some similar information, and it becomes increasingly difficult to figure out which file is coming from that folder every time you switch between tabs. When I open one of them to edit and open a file with the same name from a different folder, I get confused and more often than not edit the wrong file: undoing my hard work. So I am wondering if there is a way to show the name of the contained folder in the tab, for example it is G-06 / blank.xhtml or G-07 / blank.xhtml . I will be very grateful to anyone who has pointers on how I can do this.

+3


source to share


1 answer


As a complement to Maroon's answer, there is an alternative solution.
This is not exactly what you want (full name in the title of the tab), but can be useful sometimes.

In the Project Explore view (the same applies to the Navigator view), click the Link to Editor button . This way, whenever you select any file open in the editor, it will be automatically selected / highlighted (see picture) in the "Project Explorer" view.



Here's a picture: enter image description here

Perhaps it will be useful for you too.

+3


source







All Articles