User forums > Help
Code completion doesn't work when intialising variables with {} in C++
(1/1)
Aryan1508:
I have been using the Code Blocks IDE for a while now. I recently noticed this issue. The code completion in Code Blocks does not suggest/reccomend variables when I initialise them with `{}`
For example
Refer to the attachments to see the code completion by Codeblocks
TEST CASE 1 :
--- Code: ---int variable = 5;
--- End code ---
Code completion suggests variable after typing vari :)
TEST CASE 2:
--- Code: ---int variable{5};
--- End code ---
Code completion does not suggest variable when typing vari :-[ :-[
Navigation
[0] Message Index
Go to full version