User forums > Using Code::Blocks

call tip / code completion popup: only on request, disable autolaunch

(1/2) > >>

DavidMoksha:
I'm learning C++ and got started with codeblocks a couple days ago. When I type std:: then a popup appears. (I believe this is for code completion, rather than a calltip.)

I don't want this to EVER appear without me asking for it. I'm visually sensitive, and I cannot use an editor that pops up things in my face while I am typing. It is a total show-stopper.

I tried setting "Autolaunch after typing # letters" to the maximum 8, but it still pops up after std:: which is less than 8 letters. (And anyway I want to disable autolaunch completely-- even if I type 8 or 28 letters I still don't want autolaunch, never, ever, ever.)

Is it possible to set code completion, and call tips, to only appear upon explicit request? (via a hotkey / keyboaard shortcut, for example ctrl+space or whatever.)

Are there any other popups that could appear while I am typing, and can I similarly comfigure codeblocks to only bring those up on request?

If not, how do I disable all the popups completely? It would be crippling to not have code completion or call tips available at all, but still much better than the current behavior.

Thanks for your help and thanks for creating what looks like a really great IDE

David

using codeblocks 16 on debian 9: amd64, 16.01+dfsg-2+b1

BlueHazzard:
I really thought there is a option to pop up the completion only if a key combination is it, but it seems i was wrong...

You can remove code completion by disabling the plugin in Plugins->Plugin manager...

DavidMoksha:
Thanks. Would it be worthwhile to somehow put in a feature request? Is this something that has been discussed?

oBFusCATed:
I don't think has ever been discussed. The best thing you could do is to inspect the code and try to find all places which trigger this unwanted behaviour. Then make a patch. For us it will be a lot harder, because we're not sensitive to this.

Alpha:
In CodeCompletion::GetAutocompList() (from src/plugins/codecompletion/codecompletion.cpp) see isAuto.  Also see ccPlugin->GetAutocompList() in CCManager::OnCompleteCode() (from src/sdk/ccmanager.cpp).

Navigation

[0] Message Index

[#] Next page

Go to full version