This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I sorely miss filtering and sorting in the C/C++ Navigator. What I'd like to see is: Sorting ------- These options, as a minimum: * Don't sort * Sort by Name (ascending/descending) * Sort by Type (type: #define, var, func, etc.) Re. don't sort: Sometimes it's nice that things are listed in the same order as in the source file; then my mental idea of the file's layout matches what's presented in the GUI Filtering --------- Show/don't show each type (#define, var, typedef, func, etc.) As a concrete example, I'm right now working with a C header file with a lot of structs. Each struct is of this form: typedef struct Foo_t_ { ... } Foo_t; This so the programmer doesn't have to write "struct Foo_t" everywhere, but can get by with "Foo_t". In essence, the Foo_t_ symbol is redundant, so I'd love to have it "disappear" from my Navigator. Also, being able to specify filter regexps would be cool -- then I could say something like "don't show *_t_". More collapsing --------------- In the header I just mentioned, there's a lot of #define's. In the navigator, I cannot collapse them "out of the way". Same thing for other types of elements -- again, variables, typedefs, enums, etc. An option to collapse such things out of the way would be cool. I guess what I'm really asking is for the Navigator to become much more selective about what it shows, and how it's shown. In that way it's of more value to me, as I'm often interested in a specific subset of a file's elements, not the full gazillion of elements. The same thing, by the way, goes for the Classes view -- in short, all navigability features should become more customizable.
I agree, especially a don't sort option would be very useful. Currently even struct members are sorted which is confusing when writing initializer lists.
Integrated into 'main-golden', will be available in build *200901140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cb9e4b295112 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing IZ#112863:Show scope for class function/variables definitions in navigator fixing IZ#114037:Navigator and filter buttons fixing IZ#118384:Enable filtering, sorting, more collapsing in Navigator fixing IZ#139264:Navigator node collapsing
partly fixes. See IZ#114037
*** Bug 151620 has been marked as a duplicate of this bug. ***