- This topic has 3 replies, 3 voices, and was last updated 17 years, 6 months ago by Loyal Water.
-
AuthorPosts
-
peuclidMemberThis must be trivial, but I simply couldn’t find the right set of search words that would give me less than a thousand results to sift through.
My directory structure is such that I have several directories with files of the same names. So the editor tab with the file name doesn’t help me distinguish between which file is which.
Is there any way to find out the full path to a file that is open in the editor? I often have two files open with the same name, but which live in different directories, but with thousands of files in my hierarchy browser, it just takes too long to browse it each time I want to switch between them. I’m hoping there some simple view I can stick on the side of the window to show the current file, like we have one that shows the current line number.
Even something in the menu when I right-click in the file would be better than clicking through several directories to open and close their lists.
Thank for the help.
Bernie
support-rayMemberBernie,
For most files you can right-click in the editor and see a “Show In” sub menu. Select the view you would like to see the file in (I would suggest Navigator or Package Explorer). This should give you the path you are looking for, albeit through a tree view’s hierarchy.
——-
Ray
MyEclipse Support
peuclidMemberRay,
Thanks the the quick reply. That was very helpful, and it works great in the Java editor. That’s just the sort of thing I was hoping to fine. I might prefer something like I found at the bottom of the window in the Package Explorer view where the path of the file is displayed.
I see that this Show In doesn’t appear in all editors however. I just looked in each of the JSP editors, and that menu didn’t appear. Perhaps there is something strange with my setup and build paths since I’m not using a standard setup there. Does the Eclipse JSP Editor have the “Show In” menu? If so, perhaps I don’t have something set up correctly.
Loyal WaterMemberThe JSP Editor does not have a “Show In” menu. Your setup is correct.
-
AuthorPosts