Auto-completion "eats" next symbol
Andras Mantia
amantia at kde.org
Fri Dec 10 20:12:16 UTC 2010
On Thursday, December 09, 2010 15:41:58 Aleix Pol wrote:
> On Thu, Dec 9, 2010 at 3:17 PM, Julien Desgats
<julien.desgats at gmail.com>wrote:
> > Hey,
> > I've noticed a particularly disturbing behavior (bug?) on
> > auto-completion : when you type something while there is
> > characters
> > after cursor, they are erased until the end of word if you use
> > auto-completion.
> >
> > For instance if you have ("][" is the cursor)
> >
> > f][bar(0);
> >
> > And auto-completion suggest "foo", if you validate that
> > suggestion,
> >
> > you will get :
> > foo(][0);
> >
> > As you can see, the "bar" symbol has been erased. I think the
> > correct
> >
> > behavior should be :
> > foo][bar(0);
> >
> > or
> >
> > foo(][bar(0);
> >
> > But if you are in the following situation :
> > f][ bar(0); // notice the space between the cursor and "bar"
> >
> > The result of auto-completion will be :
> > foo(][) bar(0);
> >
> > As a result, I'm constantly forced to add spaces in such
> > situations to avoid auto-completion to eat existing symbols !
> >
> > So, what do you think about this idea of improvement ?
> >
> > Regards,
> > Julien
> >
> > --
> > KDevelop-devel mailing list
> > KDevelop-devel at kdevelop.org
> > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
> I've considered that many times. It's definitely easy to fix, I like
> it when I can just change the current word by triggering the
> completion.
>
> What do others think?
I'm also annoyed by the current behavior, so if it is easy to fix, i vote
for it.
Andras
More information about the KDevelop-devel
mailing list