Parentheses completion does not work
When I enter the name of a new function and put a parenthesis, the closing bracket does not appear. The auto-close only works when I put a parenthesis in an already existing parenthesis pair.
When I enter the name of a new function and put a parenthesis, the closing bracket does not appear. The auto-close only works when I put a parenthesis in an already existing parenthesis pair.
Hi,
You forgot to state your platform and your CodeLite version. That's always a good idea, but especially for Code Completion which has had lots of recent changes.
Anyway, it might be because of your Settings. Look in Settings > Preferences > Edit and make sure that
'Auto complete closing bracket and parentheses'
is ticked.
Regards,
David
Linux Mint 21.1, CodeLite 16.7.0.
I already have the settings that you specified, but the brackets are not closing. I want to note that this works randomly: the bracket may or may not close, I did not understand what it depends on.
The closing parenthesis will appear:
{
-> you need to hit ENTER
{
and then you typed anything but ENTER
-> you will not get the closing one(
it will always add the closing one[
it will always add the closing one