How to filter the Eclipse Outline View to show only Functions
I want to have the 'Outline view' in Eclipse in the CDT (so for a C project) show me only function names. So no enums, include files, macros, etc开发者_StackOverflow社区...
There are some options in the 'Filters...' menu, but none that make it possible to only show functions.
Can anybody help me?
You could use the "group Includes" and "group Macros" from the drop-down menu of the outline view to limit the list. (they will each be folded into a separate folder)
Since nobody's answered yet I'll offer this. Step 1. Display the Members view. (menu Window > Show View > Other, then under "Java" select "Members") Step 2. At the upper right, toggle icons to filter the display. For example, turn on "Hide Fields" and "Hide Local Types." You can also filter out static objects and non-public members.
You could try to hide the includes by creating a Filter(Can be found in the DropDown Menue Filters): E.g. if you do not want to see C,C++ Include Files: "*.h, *.hpp" would work.
You can click on 'Hide Fields' (third option in picture) to display just the functions (Eclipse Version: 2019-03 (4.11))
精彩评论