Author Topic: How to make code::blocks recognize list initializer in c++?  (Read 2298 times)

blake

  • Guest
How to make code::blocks recognize list initializer in c++?
« 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?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: How to make code::blocks recognize list initializer in c++?
« Reply #1 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.