Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Behavior of content assist
Behavior of content assist [message #916502] Wed, 19 September 2012 04:57 Go to next message
Eclipse UserFriend
Is there any way to change the key behavior of the content assist of java?

I'm using the Juno release, and I'd like to make so that the only key that confirms adding the content selected in the content assist window to be <Enter> and nothing else.

Pressing <Spacebar> or <=> will confirm the selection and add space or = after it as well, but that's bad when used with auto-completion with a trigger like ".(abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@" (it works like intellisense of Visual Studio), because as simple as "String s = null;" forces me to press <ESC> then space after the "String s" or it'll just name it "String string ", which is not the behavior I want or expect.

Thanks in advance.
Re: Behavior of content assist [message #916665 is a reply to message #916502] Wed, 19 September 2012 09:40 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 19.09.2012 06:57, Essoje Oliveira de Almeida wrote:
> Is there any way to change the key behavior of the content assist of
> java?
No. See https://bugs.eclipse.org/348857

Dani
>
> I'm using the Juno release, and I'd like to make so that the only key
> that confirms adding the content selected in the content assist window
> to be <Enter> and nothing else.
> Pressing <Spacebar> or <=> will confirm the selection and add space or
> = after it as well, but that's bad when used with auto-completion with
> a trigger like
> ".(abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@" (it works
> like intellisense of Visual Studio), because as simple as "String s =
> null;" forces me to press <ESC> then space after the "String s" or
> it'll just name it "String string ", which is not the behavior I want
> or expect.
>
> Thanks in advance.
Previous Topic:CFeclipse
Next Topic:Problem with marker for printStackTrace
Goto Forum:
  


Current Time: Thu Apr 25 14:10:28 GMT 2024

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

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

Back to the top