If you use the Mylyn task focus UI, the package explorer shows

sourceFolder/package/fileName/classTypeName/methodName

for any class in the context of an active task. Is it possible to remove classTypeName and methodName and show only all entities up to their fileName?

有帮助吗?

解决方案

I don't generally need the structure inside the Java file, so I just disable that in the Package Explorer completely. To do that:

  • go to the View menu (the little triangle)
  • choose "Filters"
  • check "Java Members"

Unfortunately, this doesn't work in Project Explorer.

其他提示

You can uncheck "Window -> Preferences -> Mylyn -> Context -> Auto expand tree views when focused", this may help to some extend.

On Eclipse PDT I used Navigator View instead of PHP Explorer View:

  • Window -> Show View -> Navigator

That way only the filenames are displayed. After that i added filters to exclude files from view, e.g. .* resources.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top