Author Topic: Code Blocks variables question  (Read 2115 times)

ArthurD

  • Guest
Code Blocks variables question
« on: June 19, 2023, 07:59:10 am »
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;
Code completion suggests variable after typing vari :)

TEST CASE 2:

Code
int variable{5};


Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1585
Re: Code Blocks variables question
« Reply #1 on: June 19, 2023, 11:19:50 am »
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.