Author Topic: Code Completion  (Read 4421 times)

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 101
Code Completion
« 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...
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code Completion
« Reply #1 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 101
Re: Code Completion
« Reply #2 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 )
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code Completion
« Reply #3 on: December 10, 2010, 09:43:18 am »
What is your C::B version?
I've no seen such problems with newer versions....
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 101
Re: Code Completion
« Reply #4 on: December 10, 2010, 12:02:18 pm »
All version infos = my forum signature
* OS = Debian Buster - Linux 4.19.06 x64 SMP
* C::B = svn11267 wx-3.0.4 - Linux, unicode 64 bit

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Code Completion
« Reply #5 on: December 10, 2010, 12:45:48 pm »
Try newer revision, there were massive improvements to the CC lately...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]