Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Trouble with autocomplete and bracket insertion
Trouble with autocomplete and bracket insertion [message #674963] Sun, 29 May 2011 19:20 Go to next message
Benjamin  is currently offline Benjamin Friend
Messages: 3
Registered: May 2011
Junior Member
Hey there.

When I first tried out Eclipse, I thought it was a pain in the but at times, but after I configured the Text Editor, I like it a lot more now (and I'm thinking about switching over from NetBeans with it). But I'm still having some issues with it.

For your Intellisense feature (I'm not sure what it's called in this IDE), is there a way I can disable the "Enter Key," for it? What happens is when I'm typing up a line of code, the thing is still there, but I want to make a new line, so I press enter, but instead of my cursor going to that newline, it inserts whatever was at the top of that list. I find it useful for hints on spelling things, and what options I have available, but those accidental insertions really annoy me.

The other main issue I have is when it comes to inserting parenthesis. When I type "(", it automatically closes it for me, even though I have the option checked off in preferences. And then when I type a closing parenthesis, it doesn't just skip over the existing one, so I'm left to press the "Delete" key to get rid of it.

Thanks for your time.
Re: Trouble with autocomplete and bracket insertion [message #674985 is a reply to message #674963] Sun, 29 May 2011 22:33 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.05.29 13:20, Benjamin wrote:
> Hey there.
>
> When I first tried out Eclipse, I thought it was a pain in the but at
> times, but after I configured the Text Editor, I like it a lot more now
> (and I'm thinking about switching over from NetBeans with it). But I'm
> still having some issues with it.
>
> For your Intellisense feature (I'm not sure what it's called in this
> IDE), is there a way I can disable the "Enter Key," for it? What happens
> is when I'm typing up a line of code, the thing is still there, but I
> want to make a new line, so I press enter, but instead of my cursor
> going to that newline, it inserts whatever was at the top of that list.
> I find it useful for hints on spelling things, and what options I have
> available, but those accidental insertions really annoy me.

It's called, "Content Assist."

I hit the escape key to dismiss content assist. There might be a better
way. I find it occasionally annoying too.


> The other main issue I have is when it comes to inserting parenthesis.
> When I type "(", it automatically closes it for me, even though I have
> the option checked off in preferences. And then when I type a closing
> parenthesis, it doesn't just skip over the existing one, so I'm left to
> press the "Delete" key to get rid of it.
>
> Thanks for your time.
Re: Trouble with autocomplete and bracket insertion [message #675010 is a reply to message #674963] Mon, 30 May 2011 02:52 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 5/30/2011 12:50 AM, Benjamin wrote:
> The other main issue I have is when it comes to inserting parenthesis.
> When I type "(", it automatically closes it for me, even though I have
> the option checked off in preferences.

Which preference did you configure - Java > Editor > Typing -> in the
'Automatically close' section ? This works for me in the Java Editor

And then when I type a closing
> parenthesis, it doesn't just skip over the existing one, so I'm left to
> press the "Delete" key to get rid of it.

This also works in the Java Editor. Can you please provide exact steps.
Previous Topic:Indentation Issues
Next Topic:eclipse crashes
Goto Forum:
  


Current Time: Wed Apr 24 22:03:00 GMT 2024

Powered by FUDForum. Page generated in 0.09603 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top