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
ollydbg 2013-03-01 01:39

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.

anyname 2013-03-25 18:34

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.

ollydbg 2013-03-26 14:16

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.

anyname 2013-03-29 13:44

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.