Page 1 of 1

Parentheses completion does not work

Posted: Thu Dec 29, 2022 3:46 pm
by MrDixioner

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.


Re: Parentheses completion does not work

Posted: Thu Dec 29, 2022 5:38 pm
by DavidGH

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


Re: Parentheses completion does not work

Posted: Fri Dec 30, 2022 6:39 pm
by MrDixioner

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.


Re: Parentheses completion does not work

Posted: Fri Jan 06, 2023 3:00 pm
by eranif

The closing parenthesis will appear:

  • if you typed { -> you need to hit ENTER
  • if you typed { and then you typed anything but ENTER -> you will not get the closing one
  • if you typed ( it will always add the closing one
  • if you typed [ it will always add the closing one