This behaviour might be incorrect in some cases (not often however).
Example:

someInstance.meth|oldInstance...

I might be going to enter something like

someInstance.methodFirst() + oldInstance...

but I get

someInstance.method|ldInstance...

on pressing Ctrl-Space. I think pressing Tab when finishing the completion,
fixes this, doesn't it?

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "North D" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 1:21 PM
Subject: RE: [Eap-list] #523 : Complete Code -> Basic (ctrl + space) little
problem


> This isn't quite the right behaviour for me.  I want autocomplete on for
> common prefixes, but for the cursor to move if the common prefix is
already
> there.  To use Claus's example:
>
> someInstance.meth|odFirst
>
> Hit ctrl-space and the cursor jumps over "od" instead of inserting them.
> Basically, if the letter you're about to auto-insert is already to the
right
> of the cursor, jump over it instead.  If there isn't any (matching) text
to
> the right then just drop in the text.  This should be the default
behaviour
> for autocompleting common prefixes.
>
> Thanks,
> Dan.
>
> > -----Original Message-----
> > From: Eugene Belyaev [mailto:[EMAIL PROTECTED]]
> > Sent: 29 November 2001 09:43
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Eap-list] #523 : Complete Code -> Basic (ctrl + space)
> > little problem
> >
> >
> > Tools | IDE Options | Code Completion page.  Set Autocomplete common
> > prefix option off.
> >
> > Best regards,
> >
> > Eugene Belyaev
> > IntelliJ Software, http://www.intellij.com
> > "Develop with pleasure"
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] On Behalf Of Claus Ibsen
> > > Sent: Thursday, November 29, 2001 12:36 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [Eap-list] #523 : Complete Code -> Basic (ctrl +
> > > space) little problem
> > >
> > >
> > > A class have 3 metohds
> > >
> > >      public void methodFirst();
> > >      public void methodSecond();
> > >      public void methodLast();
> > >
> > > if I use Ctrl + space to see the aviable methods I get the list
> > >
> > > myObject.<Ctrl + space> will give the list with the 3 methods
> > >
> > >
> > > myObject.meth<cursor here>odFirst();
> > >
> > > If i press ctrl+space at the cursor position the editor will
> > > insert an extra char
> > >
> > > myObject.methhodFirst();
> > >
> > > It's annoying if you just want to browse the list of
> > aviable methods.
> > >
> > >
> > > There is no problem if the list only contains one method (ie.
> > > cursor is in a position where the prefix renders only one
> > > method) example
> > >
> > >      myObject.methodFi<cursor here>rst();
> > >
> > > Now the list only contians one method and the editor will now
> > > insert an extra char
> > >
> > >
> > > Could it be solved so the editor doesn't insert the extra
> > > char when you press ctrl+space
> > >
> > >
> > > /Claus
> > >
> > > PS: Thanx for this great java editor, JB sucks compared to
> > > this fast/quick codenavigation/intelligent editor
> > >
> > >
> > > _______________________________________________
> > > Eap-list mailing list
> > > [EMAIL PROTECTED]
> > > http://www.intellij.com/mailman/listinfo/eap-list
> > >
> >
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED]
> > http://www.intellij.com/mailman/listinfo/eap-list
> >
>
>
>
****************************************************************************
***********
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify
[EMAIL PROTECTED] immediately.
>
> This footnote also confirms that this email message has been swept for the
> presence of computer viruses.
>
****************************************************************************
***********
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to