News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code completion doesn't work when intialising variables with {} in C++

Started by Aryan1508, October 02, 2020, 11:00:42 PM

Previous topic - Next topic

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 :
int variable = 5;
Code completion suggests variable after typing vari :)

TEST CASE 2:
int variable{5};
Code completion does not suggest variable when typing vari :-[ :-[