Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse : how to differentiate/distinguish different open workspaces

I will need to use multiple workspaces for a recent project. Each workspace might consist of 10 or more projects.

When I'm switching between various applications and different eclipse instances(for the multiple workspaces), I want to be able to distinguish a given workspace easily without having to spend 5 seconds to know from the open file, etc.

What facilities are available to quickly know which workspace I'm in ?

like image 236
anjanb Avatar asked Feb 17 '10 16:02

anjanb


People also ask

How do I know my Eclipse workspace?

in you eclipse. ini or in the command line when you launch Eclipse. The workspace location will appear in the window title bar. You can even add an argument to -showlocation to define your own text instead of showing the workspace path: e.g. -showlocation "Branch 1" .

Can you have multiple Eclipse workspaces?

You can have multiple Eclipse installations on the same machine, including different versions. Just unzip or untar them in different directories; they won't conflict.

What is the difference between workspace and project in Eclipse?

In a workspace you define projects that reference your disk resources. You don't have to move source files into the workspace. And projects don't import or copy source files into the workspace. Instead projects point to any folder or files on your disk.

Where does Eclipse store list of workspaces?

eclipse stores all its workspace settings and files in the . metadata folder.


2 Answers

Use the -showlocation command line argument when starting Eclipse. This shows the current workspace name in the window's title. You can also put the argument in the eclipse.ini file.

like image 123
Mike Daniels Avatar answered Sep 17 '22 17:09

Mike Daniels


You can also add your own window title in:

eclipse preferences > workspace > workspace name (shown in window title)

Explained here: http://eclipse.dzone.com/articles/show-workspace-location-title

like image 26
ejaenv Avatar answered Sep 18 '22 17:09

ejaenv