Behavior of content assist [message #916502] |
Wed, 19 September 2012 00:57  |
Eclipse User |
|
|
|
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 05:40  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04612 seconds