EclipseIDE: 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?

Answers


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)


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)


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

  3. Result:

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:


-showlocation is great, but it only changes the text at the end of the title bar, so it's often not visible in the taskbar.

If you want to change the beginning of the title bar, which shows the current Perspective, you can use Window -> Save Perspective As... and the new title will be visible in the Taskbar.


In Eclipse-Mars I am seeing "Workspace Name" as an option that lets you type your custom workspace name, not sure in which version this was introduced but this option is available on the same location where @Oncra C pointed (Window->Preferences->General->Workspace). The value you enter gets prepended to the start of the title.


Need Your Help

Does CURLOPT_NOBODY still download the body - using bandwidth

php curl

I'm performing a cURL post with PHP and trying to reduce the amount of bandwidth I am using. I don't need anything back from the remote site I am posting to since I control the remote site all my

UIButton AddTarget multiple times on same target action only calls once?

ios objective-c cocoa-touch uibutton

This is just a quick question, mostly something I've noticed and been rather confused about. I've played with addTarget in the past, and noticed that if you're calling addTarget dynamically, and se...