Smart Curly Braces not working

General questions regarding the usage of CodeLite
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Smart Curly Braces not working

Post by root »

I know that the curly brackets will close for me if I press <Enter>.

Code: Select all

void display()
{

}
But CodeLite still won't issue a closing curly bracket on the same line.

Code: Select all

MyString stooge {larry};
I'm using the newest CodeLite v.14. In "What's new", it says this:
"Separated between the 'smart paren/bracket' and 'auto add closing paren/bracket' functionalities in the UI. i.e. these 2 now have 2 different checkboxes in the UI"

I have both those boxes checked, but I still can't get CodeLite to issue a closing curly bracket unless I hit the <Enter> key. Is there something more I need to do so that CodeLite issues a closing curly bracket when I type an opening bracket?

Image
You do not have the required permissions to view the files attached to this post.
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Smart Curly Braces not working

Post by eranif »

This was never implemented (adding closing brace without ENTER). This fix was for answering a different bug report.
Can you please open a feature request?
Make sure you have read the HOW TO POST thread
Post Reply