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.
Parentheses completion does not work
-
- CodeLite Curious
- Posts: 5
- Joined: Thu Dec 29, 2022 3:32 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Parentheses completion does not work
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
-
- CodeLite Curious
- Posts: 5
- Joined: Thu Dec 29, 2022 3:32 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Parentheses completion does not work
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Parentheses completion does not work
The closing parenthesis will appear:
- if you typed
{
-> you need to hitENTER
- if you typed
{
and then you typed anything butENTER
-> 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