自定义 Mylyn 上下文 UI?
在 Mylyn 中,如果您激活任务并使用上下文 UI 功能,包资源管理器会显示属于该任务上下文的类以及您所在的方法。
是否可以自定义/配置 Mylyn Context UI 以:
- 仅显示类名称
- 而不深入类
- 并显示方法?
对我来说,如果过滤的包资源管理器视图还包含方法,那就不太方便,如果包资源管理器中可见的上下文仅显示包和类名称就足够了。
谢谢。
In Mylyn, if you activate a task and use the context UI feature, the package explorer shows the classes belonging to this tasks context AND the method you are within.
Is it possible to customize/configure the Mylyn Context UI to:
- show only the class name
- NOT go deeper into the class
- and also show the methods?
For me it's not convenient if the filtered package explorer view contains also the methods, and it would be enough if the context visible in the package explorer showed the packages and class names only.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在包资源管理器中,您可以单击右上角的向下箭头并选择“过滤器...”并过滤掉 java 成员、字段、导入声明等。之后,只应显示包和类。
这适用于 Helios,但我知道在某些旧版本的 Eclipse 上,当我“专注”于某项任务时,Mylyn 不会让我更改过滤器。但是,我可以通过在聚焦任何任务之前更改过滤器来使其工作。
In the package explorer you can click on the upper-right down-arrow and select 'Filters...' and filter out java members, fields, import declarations, etc. Afterwards, only packages and classes should show up.
This will work on Helios, but I know on some older version of Eclipse, Mylyn wouldn't let me change the filter while I was 'Focused' on a task. However, I could get it to work by changing the filter before putting any task in focus.