Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: earlgrey on December 10, 2010, 07:33:20 am

Title: Code Completion
Post by: earlgrey on December 10, 2010, 07:33:20 am
I want the autocompletion popup disappear when I press TAB key.

How can I achieve this ???

Because :

When I want : "GList * list = NULL;"

I end up with "GList * listen() = NULL;"

-> The ESC key does it, but I have to move my left hand to search for it while Im typing characters, its annoying.

Ive seen nothing in Editor::CodeCompletion settings...
Title: Re: Code Completion
Post by: oBFusCATed on December 10, 2010, 08:40:34 am
Hm, In most editors pressing Tab causes the completion to be applied....

The completion popup should disappear when you type the '=', is this the case?
Title: Re: Code Completion
Post by: earlgrey on December 10, 2010, 08:59:43 am

No, it writes the "=" char

=================================

* I want TAB key to close the popup, so I can re-hit the TAB key and insert a TAB character ( or some spaces, according to Editor::General Settings::TAB options )

Isnt it possible to configure also the ENTER key ? ENTER could select the suggestion, TAB exit the popup...

* The SPACE key is OK ! But can be annoying for someone who wants true TABs character, not spaces

Thanks for your reply

( Also was "Control->foo()" automagically changed to "ControlMapIndex->foo()"  annoying )
Title: Re: Code Completion
Post by: oBFusCATed on December 10, 2010, 09:43:18 am
What is your C::B version?
I've no seen such problems with newer versions....
Title: Re: Code Completion
Post by: earlgrey on December 10, 2010, 12:02:18 pm
All version infos = my forum signature
Title: Re: Code Completion
Post by: oBFusCATed on December 10, 2010, 12:45:48 pm
Try newer revision, there were massive improvements to the CC lately...