Eclipse display worskspace location

Recently, whilst using eclipse I needed to switch to different workspace so that I could use a different branch of the code I had been working. In order to eliminate confusion as to which code I was working on:

  • I created a new workspace for this branch under File/ Switch Workspace
  • Amended the eclipse startup to include the “-showlocation” switch

So now I have two workspaces and the location of the workspace is displayed in the title bar so I don’t get confused as to which branch I am working on.