Show open workspace name in Eclipse title bar

In Eclipse, I can switch worskpaces by going to File > Switch Workspace ... but it doesn't give any indication of which workspace I have open at the time.... until now!

The -showLocation parameter causes Eclipse to show the current workspace name in the title bar of the application window (as well as the perspective name for the open perspective).

To add this to your Eclipse configuration (in Windows) is very easy:
Just right-click the shortcut you use to open Eclipse, and select 'properties'.
Then, add "-showLocation" (without the quotes) to the end of the "Target" line.

My shortcut target was: C:\ECLIPSE35\eclipse\eclipse.exe 3.5
Now it looks like this: C:\ECLIPSE35\eclipse\eclipse.exe 3.5 -showLocation

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Here's an easy trick, took me forever to figure out.

Right-click the "Java" perspective in the top-right of the screen while in Eclipse. Choose Save As... and name this whatever you like.

This will become the title of the window!!! And it will be in the beginning of it too so that you can see it easily when looking at your taskbar. Hope this helps,
Derek
# Author Derek | 9/22/09 9:53 AM
Here's an easy trick, took me forever to figure out.

Right-click the "Java" perspective in the top-right of the screen while in Eclipse. Choose Save As... and name this whatever you like.

This will become the title of the window!!! And it will be in the beginning of it too so that you can see it easily when looking at your taskbar. Hope this helps,
Derek
# Author Derek | 9/22/09 9:53 AM
A nice catch with -showLocation. I added it to my Linux launcher and, as expected, it works the same.
# Author Gerry Glauser | 6/9/10 6:47 PM
blogcfc 5.9.1.002 by raymond camden
contact michael evangelista