I've always wanted to learn C++ and saw this past weekend that Udemy had all their lecture videos on sale. So I snatched up three of them. The first vid is called From Beginner to Beyond. When i cranked it up, I was pleased to see the instructor was also using CodeLite. So I got my CodeLite set up like he has his. Under Settings -> Preferences -> Edit, I have smart curly brackets ticked. Now that works great if I'm using them in an If statement or function, or anything else like that. But where they don't work is when I use them to initialize variables:
I have to also add the closing curly bracket to that. Is there a reason that smart curly brackets work for everything but initializing vars? Or do I need to fix another setting somewhere? It'd be nice if they also smartly closed in situations like that too.