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 00:57 Go to next message
Essoje Oliveira de Almeida is currently offline Essoje Oliveira de Almeida
Messages: 1
Registered: September 2012
Junior Member
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 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
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: Wed Aug 27 23:29:10 EDT 2014

Powered by FUDForum. Page generated in 0.01880 seconds