wxWidgets Code Completion works partially (building on linux)

CodeLite installation/troubleshooting forum
jeroglifo
CodeLite Curious
Posts: 2
Joined: Sun Jun 14, 2020 9:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

wxWidgets Code Completion works partially (building on linux)

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post 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
jeroglifo
CodeLite Curious
Posts: 2
Joined: Sun Jun 14, 2020 9:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

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

Post 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 :-(
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by eranif »

which version of CodeLite are you using?
Like David suggested, use Language Server -> if the code compiles, it will get code completion.
Make sure you have read the HOW TO POST thread
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post 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?
Post Reply