Smart Curly Braces not working

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

Smart Curly Braces not working

Post by root » Wed Mar 18, 2020 8:17 pm

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.3 / MinGW-8.1.0

Linux Mint 19.3 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.3 / GCC-7.5.0

User avatar
eranif
CodeLite Plugin
Posts: 6089
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Smart Curly Braces not working

Post by eranif » Fri Mar 20, 2020 1:00 pm

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