News:

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

Main Menu

Code Blocks variables question

Started by ArthurD, June 19, 2023, 07:59:10 AM

Previous topic - Next topic

ArthurD

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};


Miguel Gimenez

The "legacy" Code Completion plugin has incomplete support for recent C++ standards. If you use a recent nightly then you can enable the Clangd-client plugin instead.