facebook

[Closed] full path of current file in editor

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #270303 Reply

    peuclid
    Member

    This 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

    #270305 Reply

    support-ray
    Member

    Bernie,

    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

    #270310 Reply

    peuclid
    Member

    Ray,

    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.

    #270314 Reply

    Loyal Water
    Member

    The JSP Editor does not have a “Show In” menu. Your setup is correct.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] full path of current file in editor

You must be logged in to post in the forum log in