If you are using the keyboard, use the jump command on C-c , j (lower case j). Then you can just hit TAB and/or do completion by typing a couple letters. The completion engine lets you TAB through different locations in the file as well.
Then, of course, there's the speedbar or ECB options that both do similar things. Eric On 05/10/2010 08:23 PM, David Ventimiglia wrote: > Thanks, Eric. A couple of things I observe with these customizations. > > 1. semantic-imenu-index-directory is off by default > 2. semantic-imenu-bucketize-file when set to off gets rid of buckets, > like "classes", "interfaces", "imports", and "packages". That's good. > 3. type members (methods& properties) still are grouped into > submenu-ized buckets, regardless of the other changes I make in the > semantic-imenu customization group. That's bad. > 4. import statements still are present. That's bad. > 5. type members are still grouped under the class they belong to. > That's bad. > > Nos. 3& 5 above are the real problems, because they make you hit TAB > numerous times when you invoke the imenu command. With no. 5, granted, > a file can contain more than one type. Also, types can contain nested > types. Those facts, plus the fact that menus get unwieldy with too many > choices, make it understandable that the items would be grouped into > submenus, and hierarchically-so. But when using imenu from the > keyboard--and in particular, with TAB completion--it doesn't really > matter if the list has lots of elements, since typically the user would > just type a character or two, hit TAB, and reduce the list size > dramatically. > > Then again, this is probably more of a Semantic issue. > > Best, > David > >> -----Original Message----- >> From: Eric M. Ludlam [mailto:[email protected]] >> Sent: Monday, May 10, 2010 4:14 PM >> To: David Ventimiglia >> Cc: JDEE Users Willey >> Subject: Re: [jdee-users] Flatten/filter the Classes imenu? >> >> Hi, >> >> If you also have senator enabled, you can choose several items from > the >> imenu config. Disable 'bin by class', and possibly 'list other > files'. >> >> The variables to change are: >> >> semantic-imenu-bucketize-file >> semantic-imenu-index-directory >> >> Enjoy >> Eric >> >> On 05/10/2010 04:31 PM, David Ventimiglia wrote: >>> Hi! >>> >>> Is there a way to flatten and/or filter the Classes imenu for Java >>> files, to ease navigation among properties and methods? In its >> default >>> incarnation, it seems to show imports, properties, and methods, for >> all >>> contained classes, organized into a hierarchical menu system. I > think >> a >>> typical use-case is that a user browses to a file, then wants > quickly >> to >>> see and navigate to the methods it contains. Occasionally, a person >>> might want to browse to a property. And I suspect it's almost never >> that >>> a user wants to navigate to a particular import statement. As it >> stands, >>> navigating to a method involves 4 menus/submenus. I think it'd be >> more >>> convenient to see all the methods on just one menu. More convenient >> yet >>> would be to do M-x imenu then TAB, and see a buffer listing the >> methods >>> in the file. >>> >>> Are there customizations in JDEE and/or Semantic that either flatten >> the >>> menu list and/or filter it just to show the methods? >>> >>> Thoughts? >>> >>> Thanks! >>> >>> Best, >>> >>> David Ventimiglia >>> >>> >>> >>> > --------------------------------------------------------------------- >> --------- >>> >>> >>> >>> >>> _______________________________________________ >>> jdee-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/jdee-users > > ------------------------------------------------------------------------------ > > _______________________________________________ > jdee-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jdee-users > ------------------------------------------------------------------------------ _______________________________________________ jdee-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jdee-users
