0

I recently had to work on a visual basic project. For this task I used Visual Studio 2010 and noticed I slight difference how method are proposed for code completion. If you hit CRTL+Space and start typing, all methods are suggested that contain the text. Eclipse suggests all method that start with the text.

This behavior is especially helpful if you have to work with unknown code. Can I achieve the same behavior for Eclipse? Thank you!

Lukas Knuth
  • 25,449
  • 15
  • 83
  • 111
kon
  • 3,732
  • 3
  • 26
  • 34

2 Answers2

3

You can download Eclipse Code Recommenders plugin - http://www.eclipse.org/recommenders/. It has a feature 'Subwords Completion' which does exactly what you are looking for.

Deepak Azad
  • 7,903
  • 2
  • 34
  • 49
1

The closest you have in Eclipse is support for camel-case... This allows you to type "new NPE" ctrl-space and Eclipse will propose NullPointerException and NoPermissionException (depending on your current target platform).

To see which preferences you have to change the behavior of the quick assist functionality, open the Preferences Dialog and type "assist" in the search field... There are plenty of ways to tweak the behavior :-)

Tonny Madsen
  • 12,628
  • 4
  • 31
  • 70
  • Camel-case is pretty cool if you know exactly what you want, it will save time. – kon Apr 13 '12 at 15:26