Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - How to know on which workspace I'm working without clicking/changing main view

Currently working on 4 different branches in a project.

For each branch there's a different workspace in Eclipse.

Problem is when I have multiple Eclipses open on different workspace I have a hard time distinguishing between them and understanding on which workspace currently viewing. (the paths are the same so the window name is the same on all branches

I can choose to do:

File->Switch Workspace->Other...

and it will shows the name of current workspace but im looking for a way for it to appear in my main display windows so i don't need to do this action 100 times a day

like image 342
Nimrod007 Avatar asked Feb 20 '13 10:02

Nimrod007


People also ask

How can I see all workspaces in Eclipse?

Go to Eclipse's window option then go to preferences then type Workspace in top left corner, Under Startup & ShutDown click on Workspace option then you find correct path of Eclipse Workspace. Show activity on this post.

How do I switch between workspaces in Eclipse?

In Eclipse , go to File -> Switch Workspace , choose or create a new workspace.

Can I have multiple workspaces in Eclipse?

You can create multiple workspaces in Eclipse. You have to just specify the path of the workspace during Eclipse startup. You can even switch workspaces via File→Switch workspace. File→Import→Existing project in to workspace→select project.


2 Answers

If the full path (as shown in the other answer) is to long, then you can use Window -> Preferences -> General -> Workspace -> Workspace Name instead to set a self defined label for each workspace, which is then shown prominently in the title bar.

like image 193
Bananeweizen Avatar answered Oct 17 '22 09:10

Bananeweizen


try to add the option

-showlocation

in you eclipse.ini or in the command line when you launch Eclipse.

The workspace location will appear in the window title bar.

like image 34
Samuel Avatar answered Oct 17 '22 07:10

Samuel