Thursday, October 10, 2013

How to make Eclipse autocomplete to suggest as you type

Recently some one was asking if Eclipse content assist/autocomplete can be made to suggest as I type my class name? Immediately I could remember XCode for mac doing something like that and I felt there should be a way in Eclipse.

By default eclipse autosuggest would trigger once you type "." the goal is to make it suggest me the "Type/Class" names too. How to make it do?

Steps:
Go to Eclipse(Windows for windows users) --> Preferences --> Java --> Editor --> Content Assist

Under subsection "Auto Activation" the default value for Auto activation triggers for Java will be "." change this to

.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

Optionally you can increase/reduce the Auto activation delay to a lesser value.



You are all set! Now Eclipse will start suggesting as you type.

6 comments:

  1. It is only possible for suggestions with the introduction of various API's embedded in most of the modern high language codes.

    Thanks
    Silvester Norman

    Changing MAC Address

    ReplyDelete
  2. I want to say that Android studio Kills many person it has no like auto syntax correction like Eclipse and Java Netbeans, it occupies a lot of memory(it's not light weight) ... it has a lot of messes.I don't know why they stop developing android application using Eclipse.I think Eclipse is the best.

    ReplyDelete