Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Turn off auto-insert?(I love auto-complete, but auto-insert is REALLY frustrating)
icon8.gif  Turn off auto-insert? [message #1067502] Tue, 09 July 2013 07:04 Go to next message
Konner Rasmussen is currently offline Konner Rasmussen
Messages: 1
Registered: July 2013
Junior Member
Why in the world would you guys make auto-insert something that cant be disabled?

take for example...

i will be writing code like so:

public myClass(int arg1)
{
this.arg1 = arg1
}

then i will realize that i want to add an argument, like so:

public myClass(int arg1, int // i DO NOT want it to automatically insert "Integer"
// when i put a space after the "t" in "int"
{
......

now... i like the code -SUGGESTIONS- i do not however like the fact that hitting spacebar (which i cannot avoid doing) will automagically insert what is at the top of the list when i in no way was trying to use what it suggested.

now i HEARD that disabling "insert single proposals automatically" should fix this... for some reason it does not

am i missing something or is this just something that has been overlooked...

again i love the code suggestions with the ability to insert something if i want to... but i am REQUIRED to hit spacebar in the process of coding... if i might be so bold as to say: what is the point in having cake if you cant eat it too?
Re: Turn off auto-insert? [message #1067580 is a reply to message #1067502] Tue, 09 July 2013 12:34 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26039
Registered: July 2009
Senior Member
Konner,

I don't see anything like the behavior you describe. Is there something
odd about the settings you have grouped under Enable auto activation,
like maybe you put a space character in there as an enabler?

On 09/07/2013 1:05 PM, Konner Rasmussen wrote:
> Why in the world would you guys make auto-insert something that cant
> be disabled?
>
> take for example...
>
> i will be writing code like so:
>
> public myClass(int arg1)
> {
> this.arg1 = arg1
> }
>
> then i will realize that i want to add an argument, like so:
>
> public myClass(int arg1, int // i DO NOT want it to automatically
> insert "Integer" // when i put a space
> after the "t" in "int"
> {
> .....
>
> now... i like the code -SUGGESTIONS- i do not however like the fact
> that hitting spacebar (which i cannot avoid doing) will automagically
> insert what is at the top of the list when i in no way was trying to
> use what it suggested.
>
> now i HEARD that disabling "insert single proposals automatically"
> should fix this... for some reason it does not
>
> am i missing something or is this just something that has been
> overlooked...
>
> again i love the code suggestions with the ability to insert something
> if i want to... but i am REQUIRED to hit spacebar in the process of
> coding... if i might be so bold as to say: what is the point in having
> cake if you cant eat it too?
>
Previous Topic:shortcut key for copy qualified name
Next Topic:How to enable Compiler Log for Java Project Builder
Goto Forum:
  


Current Time: Tue Sep 16 03:13:17 GMT 2014

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

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