Page 1 of 1

wxWidgets Code Completion works partially (building on linux)

Posted: Tue Jun 16, 2020 12:19 am
by jeroglifo
Hello,
at first congratulations for this great IDE. (I try to leave QtCreator).

The thema is:

I compiled the git sources on gentoo linux, but when I try to write a wxWidgets program, code completion don't works properly. It completes sentences like "#include <iostream>", but when I try to add an wxWidgets variable like "wxString", simply don't works.

Please, any help is welcome.

Thanks in advance

Re: wxWidgets Code Completion works partially (building on linux)

Posted: Tue Jun 16, 2020 1:34 am
by DavidGH
Hi,

Have a look at the Language Server page.

Also, make sure that your wxWidgets is visible; i.e. doing:
which wx-config
should find something, and
wx-config --list
give sensible output.

If not, prepend </full/path/to/>/wx-config to your terminal's $PATH.

Regards,

David

Re: wxWidgets Code Completion works partially (building on linux)

Posted: Tue Jun 16, 2020 11:36 pm
by jeroglifo
Hallo David,
thank you very much for your suggestions; My default systeme come so:

Code: Select all

~$ which wx-config
/usr/bin/wx-config
~$ wx-config --list

    Default config is gtk3-unicode-3.0-gtk3

  Default config will be used for output

  Alternate matches:
    gtk2-unicode-3.0
But codecompletion don't works :-(

Re: wxWidgets Code Completion works partially (building on linux)

Posted: Wed Jun 17, 2020 12:05 am
by eranif
which version of CodeLite are you using?
Like David suggested, use Language Server -> if the code compiles, it will get code completion.

Re: wxWidgets Code Completion works partially (building on linux)

Posted: Wed Jun 17, 2020 12:06 am
by DavidGH
Which sort of code-completion are you trying to use? The latest one, Language Server, or something else (if so, what?).

If Language Server, try opening 'Plugins > Language Server > Settings' and scan. What does the scan find?