Skip to main content



      Home
Home » Newcomers » Newcomers » Behavior of content assist
Behavior of content assist [message #916502] Wed, 19 September 2012 00: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 05:40 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 01:05:07 EDT 2025

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

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

Back to the top