Changing keybinding for autocompletion choice

Nathan Hüsken nathan.huesken at posteo.de
Tue Nov 16 08:50:37 GMT 2010


Well, this sounds like exactly the same problem I had (with the little
difference that it happens in comments, not in code). A custom
autocompletion-select key would solve your problem too, would it not?

On 11/15/2010 10:57 AM, novo wrote:
> Hi,
> 
> While we're on the topic of autocompletion, it would be nice if there
> was a way to specify a delay after the autocompletion box is shown(or is
> it there already and I just didn't notice it?). I often have the
> autocompletion insert a code i don't want, especially when writing
> comments when I break the line. Most of the time I stop typing when I
> want to end the line for a moment - less than a second, but enough to
> open the autocompletion box. Unfortunately I often hit the time when the
> autocompletion box just starts to render(it's not fully visible yet, but
> hitting enter selects the text from it) and I end up having to take my
> hands off the keyboard and delete the newly inserted text(most of the
> time it's a text block from my snippets). Adding a configurable timeout
> for autocompletion would solve this. I don't remember if I ever had this
> problem while writing the code, but with comments it's almost always
> happening.
> 
> Cheers,
> novo
> 
> On Sat, Nov 13, 2010 at 2:29 PM, Nathan Hüsken <nathan.huesken at posteo.de
> <mailto:nathan.huesken at posteo.de>> wrote:
> 
>     Unfortantly, it was a pretty special situation, when this was happening.
>     It was completing the template parameter of an existing function, and
>     inserting an header file on "enter".
>     I will try to reproduce it, but I am not sure if I can.
> 
>     On 11/12/2010 11:03 PM, Milian Wolff wrote:
>     > On Tuesday 09 November 2010 18:15:07 Nathan Hüsken wrote:
>     >> Hey,
>     >>
>     >> The Problem still exists. Anyone any suggestion on how to solve this?
>     >
>     > This key is not configurable. Can you give us a reproducible test
>     case where
>     > this is an error? And note that you can "ESC"-close the code
>     completion to
>     > hide it.
>     >
>     > If you otoh type something and hit enter and that magically
>     inserts code, this
>     > would be an inconvenience that should be tried to work-around
>     (like with a
>     > timer). A good way to reproduce this would be needed.
>     >
>     >> On 10/29/2010 03:34 PM, Nathan Hüsken wrote:
>     >>> Hi,
>     >>>
>     >>> When kdevelop pops up the autocompletion, I can press enter to
>     select my
>     >>> current choice.
>     >>> Fine.
>     >>> Lately, I often came in the situation, where I wanted to insert a
>     >>> newline while the autocompletion was open. That resulted in the
>     current
>     >>> choice being selected/inserted, which I did not want.
>     >>>
>     >>> Can I somehow change the key for selection the autocompletion choice
>     >>> from enter to something else?
>     >>>
>     >>> Thanks!
>     >>> Nathan
>     >>>
>     >>> _______________________________________________
>     >>> kdevelop mailing list
>     >>> kdevelop at kdevelop.org <mailto:kdevelop at kdevelop.org>
>     >>> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>     >>
>     >> _______________________________________________
>     >> kdevelop mailing list
>     >> kdevelop at kdevelop.org <mailto:kdevelop at kdevelop.org>
>     >> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>     >
>     >
>     >
>     > _______________________________________________
>     > kdevelop mailing list
>     > kdevelop at kdevelop.org <mailto:kdevelop at kdevelop.org>
>     > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
> 
> 
>     _______________________________________________
>     kdevelop mailing list
>     kdevelop at kdevelop.org <mailto:kdevelop at kdevelop.org>
>     https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
> 
> 
> 
> 
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop





More information about the KDevelop mailing list