Search code examples
eclipseworkspacetitlebar

Is there a way to add the workspace path to the Eclipse IDE title bar?


I sometimes run more than one eclipse with a new version of a project and another with an older version in a different workspace. Add an extra window view of the "new" version and it becomes difficult to tell when alt=tabbing which eclipse belongs to which workspace.

When a lot of files are involved with minor changes the only way to tell is to get the properties of a particular file and check the path. This of course is slow, there must be better way and having the workspace path in the title bar would make it easy to spot which instance is working with which workspace.

Is there a way to include the workspace path in the title bar so one can easily tell which workspace one is working with?


Solution

  • If you add -showlocation in its own line at the beginning of your eclipse.ini, you will have the current workspace automatically displayed in the title bar.
    (see this example of eclipse.ini)

    alt text