Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: blake on February 28, 2022, 02:23:10 pm

Title: How to make code::blocks recognize list initializer in c++?
Post by: blake on February 28, 2022, 02:23:10 pm
I'm new to programming and I'm using code::blocks as my IDE but I found out that code::block doesn't recognize variables initialized with list initializer. For example
Code
int x{};
when I try to use
Code
x
in the next line, it won't show up on the pop-up variable list. Can I change some settings so that code::block would or is it just not possible for technical reasons?
Title: Re: How to make code::blocks recognize list initializer in c++?
Post by: Miguel Gimenez on February 28, 2022, 03:17:17 pm
If you are using Windows you can use the last nightly with the LSP code completion, see this thread (https://forums.codeblocks.org/index.php/topic,24863.msg169525/topicseen.html?PHPSESSID=daa8260003a0fcfe9445b5bf18d85587#msg169525).