Reputation: 1529
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...
There are some options in the 'Filters...' menu, but none that make it possible to only show functions.
Can anybody help me?
Upvotes: 9
Views: 6102
Reputation: 283
You can click on 'Hide Fields' (third option in picture) to display just the functions (Eclipse Version: 2019-03 (4.11))
Upvotes: 1
Reputation: 191
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)
Upvotes: 7
Reputation: 540
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.
Upvotes: 1
Reputation: 21
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.
Upvotes: 2