Code::Blocks Forums
User forums => Help => Topic started by: miggilin on May 03, 2008, 04:34:00 am
-
I've enabled code completion using wxWidgets, but strangely for some classes it doesn't give what I would imagine it should. For instance:
wxButtonBase instead of wxButton
wxAppBase instead of wxApp
It doesn't do this for all classes, and I can't figure out why it doesn't offer the other classes (wxButton, wxApp, etc) when they all exist there. Is this a configuration problem or a CB bug (or what)?
-
Yeah i noticed that, anoying. I was allways getting wxWindowBase instead of wxWindow or something similar.
-
I wonder if the last post here has something to do with it:
http://forums.codeblocks.org/index.php/topic,6396.msg50448.html#msg50448
Even so, is there way way to fix it/get it working?
-
Another thing about CB code completion is its partial recognition.
From a set of words with common characters it doesnt allow tabbed completion of words to the nearest ambiguous symbol.
For example from the set:
BaseObject
BaseHpuse
BaseIsReallyDeep
BaseSomthingElse
Typing B... will invoke a completion list as seen above, but hitting tab simply completes it to the first object in the list, the completion algo is making assumptions on ambiguities here. It would be more efficient to have it complete to the nearest ambiguous letter:
B... TAB...Base...I....TAB...BaseIsReallyDeep
i.e. same as UNIX shell completion.
-
So... No fix? Nothing? Just sucks for me?
Should I file a bug report?
-
If you would do a forum search on code completion you would see there has been a lot of (fairly recent) posts on the devs redesigning the code completion functionality. It explains whats going on.