code completion with declaration with extra parenthesis.

General questions regarding the usage of CodeLite
User avatar
Jarod42
CodeLite Expert
Posts: 239
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

code completion with declaration with extra parenthesis.

Post by Jarod42 »

Code: Select all

int (bar_not_visible)();
int bar_visible();

void foo()
{
    bar_|Ctrl+Space
}
bar_not_visible is not suggested whereas bar_visible is.
(lua C API uses the syntax with extra parenthesis).
CL version : v.3.5.5377
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: code completion with declaration with extra parenthesis.

Post by eranif »

Hi Jarod42!

If you are using codelite's normal build system (e.g. no custom makefile) - enable clang from:

Code: Select all

settings -> tags settings -> clang -> enable clang code completion
It should fix this

Eran
Make sure you have read the HOW TO POST thread
User avatar
Jarod42
CodeLite Expert
Posts: 239
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

code completion with declaration with extra ().(Solved)

Post by Jarod42 »

It fixes this, thanks.
Post Reply