Eclipse - 如何在不单击/更改主视图的情况下知道我在哪个工作区工作 [英] Eclipse - How to know on which workspace I'm working without clicking/changing main view

查看:17
本文介绍了Eclipse - 如何在不单击/更改主视图的情况下知道我在哪个工作区工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前在一个项目中处理 4 个不同的分支.

Currently working on 4 different branches in a project.

对于每个分支,Eclipse 中都有不同的工作区.

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

问题是当我在不同的工作空间上打开多个 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

我可以选择做:

文件->切换工作区->其他...

它会显示当前工作区的名称,但我正在寻找一种方法让它出现在我的主显示窗口中,所以我不需要每天执行 100 次此操作

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

推荐答案

如果完整路径(如另一个答案所示)太长,则可以使用 Window ->首选项->一般->工作区->工作区名称 而是为每个工作区设置一个自定义标签,然后在标题栏中突出显示.

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.

这篇关于Eclipse - 如何在不单击/更改主视图的情况下知道我在哪个工作区工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆