Eclipse Outline View - Visible JavaScript Categories in Eclipse?

Posted by leeand00 on Stack Overflow See other posts from Stack Overflow or by leeand00
Published on 2010-05-13T20:21:56Z Indexed on 2010/05/13 20:24 UTC
Read the original article Hit count: 574

I just found an option in the little white down arrow in Eclipse that reads "Visible Categories..."

How can I use this? It seems to me that it could be used to only show functions that have an @category in their comments, but I haven't been able to make that work. If it did work it would be incredibly useful for separating out Unit Tests from their common-functions and separating them from the setUp and tearDown methods, so what is it really for?

By the way I'm editing a Javascript file in the Eclipse "Javascript Editor", I don't know if that makes any difference or not.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about outline-view