> [snip]  JBuilder took 
> in to account what is on the other side of the cursor, which IDE doesn't 
> seem to do at the moment;  [snap]

+10!

Tom


On Tue, 09 Jul 2002 11:37:44 +0100, Nathan Brown <[EMAIL PROTECTED]>
wrote:

> I'm not quite sure why the wildcard is '.*' and not just '*'?  (Maybe 
> some regex thing I'm not familiar with...)
> 
> Anyway, I agree with you, autocomplete in general could be improved - it 
> has never seemed as 'nice' in IDEA as it was in JBuilder.  JBuilder took 
> in to account what is on the other side of the cursor, which IDE doesn't 
> seem to do at the moment;  It would be great to provide a list sorted by 
> number of matched characters.
> 
> There are existing obstacles to this however...  The auto complete 
> common prefix is great, but it should use existing characters if 
> possible.  For example, I have 2 methods fooOne() and fooTwo().  If I 
> type fooOne() and then later want to change it to fooTwo(), I might put 
> my cursor here :
> 
> f|ooOne();
> 
> Trouble is, if I autocomplete there I'll end up with:
> 
> foo|ooOne();
> 
> As the auto complete common prefix has ignored the existing characters 
> even though they were the same.  Now, even if IDEA did look to the right 
> of the cursor (e.g. using Paul's suggestion below), there would be no 
> point as it wouldn't find anything.
> 
> N.
> 
> Paul Ruane wrote:
> > I was using the goto class and had this idea.  When you start typing, the classes 
>are matched, so the following:
> > 
> >       IceCream|
> > 
> > Found my class, "IceCreamFactory".
> > 
> > I then moved the cursor to the beginning of the line as I realised I wanted to 
>find the implentation which, with our convention, is DefaultIceCreamFactory.
> > 
> >       Def|IceCream
> > 
> > But of course this didn't match until I completed the word "Default".  My 
>suggestion is to treat the cursor as the wildcard .*
> > 
> >       IceCream|   ->    IceCream.*
> >       |IceCream   ->    .*IceCream
> >       Byte|Stream ->    Byte.*Stream
> > 
> > This could be applied immediately after cursor move or after a few millisecond 
>delay.
> > 
> > Kanpai,
> > Paul.
> > 
> > 
> > --
> > 
> > This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
> > 
> > 
> 

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to