Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ZaHaDum1984 on January 26, 2017, 02:51:10 pm

Title: No IDE-Support for C++11 initialization syntax?
Post by: ZaHaDum1984 on January 26, 2017, 02:51:10 pm
Hello Coders,

If I write C++ code, I use features of the C++11 standard.

Unfortunately Code::Blocks seems to be unable to handle the C++11 initialization syntax for variables.

Code
// old syntax
int i = 0;

// C++11 syntax
int i {0};

Whenever I want to use a variable which I have initialized by using the C++11 syntax, I don't get any help/completion/suggestion from the IDE. That is very unfortunate. >:(

How can I fix this issue?

Greetings

ZaHaDum1984
Title: Re: No IDE-Support for C++11 initialization syntax?
Post by: oBFusCATed on January 26, 2017, 08:13:01 pm
How can I fix this issue?
Use the clang code completion plugin (requires manual compilation) or provide a patch for our parser.