Page 1 of 1

Problem in enabling autocompletion in codelite..

Posted: Fri Nov 13, 2009 2:01 pm
by python.noob
Hello friends,

Just now i switched my OS from mandriva to ubuntu 9.04... I installed libwxgtk2.8-dev,libwxgtk2.8-dbg,libgtk2.0-dev and build-essentials(for g++) from the repositories. I installed codelite from the repositories and it's up and running(no probs in compiling and running).. But when i tried to have code completion feature in my codelite i read this http://codelite.org/LiteEditor/CodeCompletion. How can i find the path for wxGTK? Is there any way? If u already worked with ubuntu 9.04 how did you enable this? Waiting for your reply...

Re: Problem in enabling autocompletion in codelite..

Posted: Fri Nov 13, 2009 2:03 pm
by eranif
Which version of codelite are u using?
Please give an example of code which does not work with code completion
Describe here, step by step what did you do to set up a project
Eran

Re: Problem in enabling autocompletion in codelite..

Posted: Fri Nov 13, 2009 3:55 pm
by DavidGH
Hi,

Using 'locate' shows that there's a /usr/include/wx-2.8 directory containing the headers.

Regards,

David

Re: Problem in enabling autocompletion in codelite..

Posted: Sun Nov 15, 2009 12:47 pm
by python.noob
Thanks eran and david for your replies.. I compiled a widgets program which showed an error like /usr/include/wx-2.8/wx/string.h doesn't have the method.. so in the tags database i added /usr/include/wx-2.8/wx and it worked like a charm (U know mistakes are the secret of success :) :) )..
However when i'm typing for example wxF (for wxFrame) if i press ctrl+return (manually in the midst of typing) it shows the available variables.classes etc., I want the codelite to show list automatically when i start typing wx... Is there a way to do so?

Re: Problem in enabling autocompletion in codelite..

Posted: Sun Nov 15, 2009 1:09 pm
by eranif
python.noob wrote:Is there a way to do so?
No. code completion in codelite is on demand (meaning: you need to invoke it to get it)

The only "automated" code-completion is when typing '->', '::' or '.' for an instance of class/struct

Eran