Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

CodeCompletion in Codelite is very powerful.

(1/2) > >>

henrya2:
CodeCompletion in Codelite is very powerful. It is just like Visual C++ 6 plus VisualAssitX.

Hope its feature can be ported to Code::Blocks.

ollydbg:

--- Quote from: henrya2 on October 28, 2009, 04:30:56 pm ---CodeCompletion in Codelite is very powerful. It is just like Visual C++ 6 plus VisualAssitX.

Hope its feature can be ported to Code::Blocks.

--- End quote ---
I haven't tried too much in Codelite, but as I know, Codelite use the Ctags as a service to collect Tokens.
Also, Lex and Yacc based parser to collect locally tokens to do the "code completion" suggestion. Hopefully eranif ( author of Codelite) can help us a lot.  :D

Edit:

see here

http://forums.codeblocks.org/index.php/topic,10087.msg70875.html#msg70875

blueshake:
But it seems that codelite can not parse template and do macro replacement too.

mmkider:

--- Quote from: henrya2 on October 28, 2009, 04:30:56 pm ---CodeCompletion in Codelite is very powerful. It is just like Visual C++ 6 plus VisualAssitX.

Hope its feature can be ported to Code::Blocks.

--- End quote ---


I think function name can be rendered  color in the codelite.
But In the codeblocks, it's not.

eranif:

--- Quote from: blueshake on October 29, 2009, 01:05:36 am ---But it seems that codelite can not parse template and do macro replacement too.

--- End quote ---
You are partially correct about the macro replacement, codelite has a limited capability in this area (similar to codeblocks I believe, it can only perform simple replacements of macros, but it can NOT evaluate if a macro is defined or not)

However, regarding the template, well you are wrong here. codelite can handle templates up to a certain degree.
I dont use templates much, since I think that templates are evil. But codelite *can* handle them (at least it can handle the ones I have wrote).

For example, codelite can not handle the STL templates, but it can handle the boost templates pretty well, plus some support for operator overloading (especially -> operator), for example:


Eran

Navigation

[0] Message Index

[#] Next page

Go to full version