Netbeans Quick Tip #12 - Fast Navigation to Methods and Fields

Guest Author

Well this tip is not from my head (thanks Gregg ;-)... You can navigate very fast to a method in source editor by following these steps:

1. Press Ctrl-7 to get focus to navigator.

2. Type in first letters of the method, e.g. "ma" for main.

3. Press enter -> now you are moved to the beginning of the method.

A nice small time saver - you don't need to use the mouse to scroll down or search for the method or field.

Join the discussion

Comments ( 4 )
  • Kovi Thursday, September 1, 2005
    Maybe a direct search over methods in an editor would be great. Something like CTRL-O in Eclipse.
  • Roumen Saturday, September 3, 2005
    Good idea. Can you file it into issuezilla as enhancement against editor? So that people can vote for it etc. Thanks!
  • Lukas Thursday, September 8, 2005
    I just wanted to notice that this feature is available in Explorer views (Projects, Files, etc,), in Properties - in all TreeViews. I'm not sure what is it name of this feature but the behaviour should be as described in issue 33931. I call it "Quick search" or "Popup search" ;)
  • Omar Marji Thursday, January 19, 2006
    it would be nice to have a feature like Java file search within project sources, or general file search within project.... somthing like the Ctr+N and Ctrl+Shit+N in IntelliJ .. this saves a lot of time looking for src file when having a large number of files spread around multiple package strutures..
    i will try to search issuezilla and see if its already suggested.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.