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

Eclipse Oxygen (4.7)

In Eclipse Oxygen you can add the workspace path to the configurable Window title.

  1. Window > Preferences

  2. General > Workspace > check Show full workspace path

    General > Workspace > Show full workspace path

  3. Result:

    Eclipse title bar

Eclipse Neon (4.6) & Eclipse Mars (4.5)

The checkbox is in the same location, but it has a different text - Show workspace path in window title:

Show workspace path


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


If you go to Window -> Preferences -> General -> Workspace, there is an item "Workspace name (shown in window title):" that you can use. (I use Eclipse Helios CDT)