Eclipse:如何区分/区分不同的开放工作空间
我需要在最近的项目中使用多个工作区。每个工作区可能包含 10 个或更多项目。
当我在各种应用程序和不同的 Eclipse 实例(针对多个工作区)之间切换时,我希望能够轻松区分给定的工作区,而不必花费 5 秒从打开的文件等中了解。
有哪些设施可以快速了解我所在的工作空间?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
启动 Eclipse 时使用
-showlocation
命令行参数。这会在窗口标题中显示当前工作区名称。您还可以将参数放入 eclipse.ini 文件中。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 theeclipse.ini
file.您还可以在以下位置添加自己的窗口标题:
此处说明: http://eclipse.dzone.com/articles /显示工作空间位置标题
You can also add your own window title in:
Explained here: http://eclipse.dzone.com/articles/show-workspace-location-title
-showlocation 很棒,但它只更改标题栏末尾的文本,因此它通常在任务栏中不可见。
如果要更改标题栏的开头(显示当前透视图),可以使用 Window ->将透视另存为...,新标题将在任务栏中可见。
-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.
您还可以使用操作系统来设置不同的工作空间,包括差异、背景等。每个工作区中都有一个 Eclipse 正在运行,并且有一个 diff 工作区。
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.
您还可以在同一工作区中创建不同的工作集。您只需要一次 Eclipse,并根据鼠标速度在 1 秒内在工作集之间切换:)
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 :)