Ted’s Rants and Raves by Ted M. Young

February 23, 2008

IntelliJ IDEA Tip: Goto Class Coolness

Filed under: IntelliJ IDEA

IntelliJ IDEA continues to surprise me…the other day I was looking for a class in a package, but I wasn’t sure if the package was task, tasks, or something else, but I knew it started with the letter t. Lo and behold, IDEA’s Goto Class (typically the Ctrl+N shortcut) will help you with this problem:

Goto Class dialog

Here you can see that I’ve typed a letter, t, that I know is the start of the package name (which could be the first name, or the fifth dotted name) and then an asterisk (the wildcard) and then Task, because I know the class ends with Task. And IDEA will show you all of the classes that match. You don’t need the wildcard for the package name, the dot makes the wildcard implicit, i.e., if you use t.SomeClass, it knows that you want to find a class named SomeClass that’s in a package where the last part of the package name starts with the letter t.

Comments »

The URI to TrackBack this entry is: http://tedyoung.blogsome.com/2008/02/23/intellij-idea-tip-goto-class-coolness/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Jay of onefinejay.com