Feature #5620 2013-02-11 05:49
anyname
Remove space-complete
Currently code::blocks treats tab and space identically when the code completion dialog box appears. I'd like to suggest removing space-complete(or at least make it optional) since this functionality is redundant and interferes with typing when C/C++ library includes add many short definitions to the global namespace.
- Category
- Editing
- Status
- Open
- Close date
- Assigned to
- ollydbg
History
I can't understand your idea. Sorry, can you give more details? What is code completion dialog box? Does it mean the code- suggestion list? Another question is: what is the step to reproduce this issue?
Thanks.
class class1 { public: int variableOne; };
int main(int argc, char * argv[]) { class1 inst; inst. // List appears here inst.v // List disappears inst.var // List reappears with variableOne selected. Pressing space here // inserts variableOne when the desired action is to type a space. }
Hopefully the above is clear. The desired behavior is that typing a space should always type a space.
Hi: In the line: inst.var, when your enter the last "r", there will be a suggestion list which have "variableOne" selected. Then you press the space key. In my system(WinXP), I see a space is correctly added, so the line becomes: inst.var[space]
So, I can't reproduce your issue, I just enter a space, then a space is correctly entered.
I'm using 12.11 rev 8629, Linux, unicode 64 bit.
I started a blank session and added a new cpp file. Typing p r i <space> gets expanded to priority_queue.