I have extensively used Eclipse for the past 2 years and as with every other IDE, the first thing I do is to find out/use the keyboard shortcuts in the application.
Eclipse is a great IDE to work with and I should probably start a series of posts which might help me and others in becoming a Eclipse “power user” 🙂
R.J. Lorimer has an interesting post on how to use the Camel-Case search in Eclipse.
Many users struggle with the Search Dialog in Eclipse to find a class. In fact you can quickly lookup/Search a class using “Open Type” (Ctrl+Shift+T) dialog.
Till now the only filters I was using was the ? and the * as mentioned in the dialog (To be honest, never used ? pattern 🙂 )
RJ points out that you could search a class via the capital letter patterns commonly used in naming conventions for classes. So in order to search for ArrayIndexOutOfBoundsException, I could just type AIOOB. Also you can mix the normal characters if there is more than one match on the camel case combination.
For E.g. If I type HM in search for a HashMap, I might end up with a long list of classes. The list can be shortened by using a combination say HaMa
You can even use this feature as part of the Code Assist !
On the downside this feature doesn’t work with the “Open Resource” dialog (Ctrl+Shift+R). Resource dialog can also be used to search for the classes within your project and I am not sure why “Camel case” search is not supported in this dialog !