Mylyn Task Focus UI
Asked Answered
T

3

10

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?

Tomokotomorrow answered 21/6, 2012 at 13:56 Comment(0)
A
14

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.

Abbyabbye answered 22/6, 2012 at 9:10 Comment(1)
Thanks for this handy tip, those expanded class innards really got on my nerves! One addition: I had to uncheck the package explorer's Mylyn button ("Focus on active tasks") to be able to edit the filters (Eclipse Indigo). Afterwards I could re-enable it.Sieve
A
2

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

Alvinaalvine answered 21/6, 2012 at 14:42 Comment(0)
S
0

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.

Setup answered 13/12, 2015 at 18:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.