Eclipse Auto completion without ctrl+space

View previous topic View next topic Go down

Eclipse Auto completion without ctrl+space

Post by BIT0122-Amit on Fri May 28, 2010 4:12 pm

Hi guys Very Happy

I have found a way today (and on my own Very Happy didn't find it in anywhere else) which will allow you to type and insert code even more faster, and that without pressing ctrl+space too!!
Yes, it will automatically show suggestions about code insertion (just like net beans) Very Happy

আমাকে ক্লিক করে দেখুন কি করা লাগবে:

To do that, open eclipse, go to window, preferences>
now from the left menu, Java, find editor. Inside it is content assist, select it.
from the right side, set auto activation delay to 0 ms
now look carefully, there is a text box called auto activation triggers for java with only one "."
replace it with

aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ.

Press apply, and enter.

here is a super easy image that will explain everything!!




And now if you type anything, it will automatically start showing you suggestions Very Happy And that too without pressing any ctrl+space Very Happy

BTW, :p
in very rare cases, template codes, for example,
typing syso and pressing ctrl+space to get System.out.println(); will not work.(Razz i tried it outside main :p it is not supposed to work anyway )
You can also try using
আমাকে ক্লিক করুন :
ABCDEFGHIJKLMNOPQRSTUVWXYZ.
that way, small alphabets will be spared Very Happy


Last edited by BIT0122-Amit on Fri May 28, 2010 5:33 pm; edited 4 times in total

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0129-Tabassum on Fri May 28, 2010 5:10 pm

CONGRATS Mr.Admin Very Happy now your popularity is above hundred!!! It made me happy too Smile

Thanks for the nice pots. But its not clear to me yet. I think, after trying it to my IDE ...it will be clear. Very Happy

_________________________________________________________________
মানুষ তার স্বপ্নের সমান বড়
avatar
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0122-Amit on Fri May 28, 2010 5:17 pm

BIT0129-tabassum wrote:CONGRATS Mr.Admin Very Happy now your popularity is above hundred!!! It made me happy too Smile

Thanks for the nice pots. But its not clear to me yet. I think, after trying it to my IDE ...it will be clear. Very Happy


Thank you thank you Blush

The thing is like this...
when you type JB and then press ctrl space, it shows you all the available entries including JButton.
But after you make the change, if you simply type JB it will instantly show you the available possible entries Very Happy



Last edited by BIT0122-Amit on Fri May 28, 2010 5:31 pm; edited 1 time in total

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0129-Tabassum on Fri May 28, 2010 5:25 pm

I understood the result ...but what have to do for this that wasn't clear .

_________________________________________________________________
মানুষ তার স্বপ্নের সমান বড়
avatar
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0122-Amit on Fri May 28, 2010 5:29 pm

BIT0129-tabassum wrote:I understood the result ...but what have to do for this that wasn't clear .

I have included a picture in the title post. see if it makes things easier Cool!

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0129-Tabassum on Fri May 28, 2010 5:33 pm

Thanks dude pirat

_________________________________________________________________
মানুষ তার স্বপ্নের সমান বড়
avatar
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0129-Tabassum on Fri May 28, 2010 5:45 pm

Thanks a lot Very Happy

I didn't click to
আমাকে ক্লিক করুন :
:p

This is very interesting(using spoiler ).

Now my eclipse is giving suggestions without control space Very Happy

_________________________________________________________________
মানুষ তার স্বপ্নের সমান বড়
avatar
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0122-Amit on Fri May 28, 2010 5:46 pm

BIT0129-tabassum wrote:Thanks a lot Very Happy

I didn't click to
আমাকে ক্লিক করুন :
:p

This is very interesting(using spoiler ).

Now my eclipse is giving suggestions without control space Very Happy

hey :p don't say it :p press the + button in later posts :p

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by sourcesoft on Mon Feb 14, 2011 8:37 pm

yo Very Happy
any ideas about how to do this with CSS files without ctrl+space?

seems like this topic's been created like a million years ago

sourcesoft
Pre-Alpha Release
Pre-Alpha Release

Course(s) :
  • N/A

Blood Group : NULL
Posts : 1
Points : 1

View user profile

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by BIT0122-Amit on Mon Feb 14, 2011 8:44 pm

No actually Sad
I personally prefer net beans for things like html, css, php and other web related things like that.

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Eclipse Auto completion without ctrl+space

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum