Customize the Mylyn Context UI?

徘徊边缘 提交于 2019-12-01 03:13:31

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/6343379/customize-the-mylyn-context-ui

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!