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 » Tue Jun 16, 2020 12:19 am

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: 676
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post by DavidGH » Tue Jun 16, 2020 1:34 am

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 » Tue Jun 16, 2020 11:36 pm

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: 6110
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 » Wed Jun 17, 2020 12:05 am

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: 676
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post by DavidGH » Wed Jun 17, 2020 12:06 am

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