code completion, brackets not added after pressing enter

General questions regarding the usage of CodeLite
shadowsocks
CodeLite Curious
Posts: 9
Joined: Thu Nov 09, 2017 8:04 am
Genuine User: Yes
IDE Question: c++
Contact:

code completion, brackets not added after pressing enter

Post by shadowsocks »

For example, I type

Code: Select all

vector < int > V;
for(i=0;i<V.s)
and the "V.size()" item appeared in the completion box.
Then I press enter and the code become

Code: Select all

vector < int > V;
for(i=0;i<V.size)
instead of

Code: Select all

vector < int > V;
for(i=0;i<V.size())
Note that this will only happen if there is already a ')' next to "V.s" before completion.

This had not appeared in older versions, and I cannot understand what its benefits are.

Is that a new feature in recent weekly builds?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: code completion, brackets not added after pressing enter

Post by eranif »

This was a regression which is now fixed in git master
Make sure you have read the HOW TO POST thread
Post Reply