eclipse : how to differentiate/distinguish differe

2019-04-05 00:42发布

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 ?

5条回答
Deceive 欺骗
2楼-- · 2019-04-05 01:05

You could use also the OS for this to setup different workspaces, with diff, background or so. Where you have in each workspace a Eclipse running, with a diff workspace.

查看更多
趁早两清
3楼-- · 2019-04-05 01:06

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.

查看更多
贼婆χ
4楼-- · 2019-04-05 01:10

You can also create different working sets in the same workspace. The you only need one eclipse and switch between working sets in 1 sec depending on the mouse speed :)

查看更多
Rolldiameter
5楼-- · 2019-04-05 01:14

-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.

查看更多
霸刀☆藐视天下
6楼-- · 2019-04-05 01:27

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

查看更多
登录 后发表回答