Intellisense and wxWidgets

Anders Hansson XZ (LD/EAB) anders.xz.hansson at ericsson.com
Mon Feb 12 07:12:58 PST 2007


You add the wx-include directory/path to your build settings for your project.

Choose properties for your project (by right clicking). Then select the "C/C++ Build" item in the list. Here you can configure your compiler settings, among other things you can add directories that should be searched when built (the GCC -I directive). This will force the CDT C++ indexer to index those files. You will have to put the right #includes in your .cpp file though for it to show up on "intellisense", IIRC CDT will only search those included files you have specified. This should also make it possible to jump to the wx-header file by pressing F3 in Eclipse, etc.

/Anders

-----Original Message-----
From: wxuserbrest at yahoo.fr [mailto:wxuserbrest at yahoo.fr] 
Sent: den 12 februari 2007 12:47
To: wx-users at lists.wxwidgets.org
Subject: Re: Intellisense and wxWidgets


Hi,
i was just trying to test it. How can you force eclipse to parse wxWidgets files header ?
Thanks

On 12 fév, 10:29, anders.xz.hans... at ericsson.com ("Anders Hansson XZ \
(LD/EAB\)") wrote:
> I've used Eclipse (together with the CDT plugin) and made the C++ 
> indexer traverse the wx-include files. It has worked quite ok for me, 
> could be worth a try if you want to keep the development tools open 
> source/free. Otherwise probably Visual Studio and the proposed Visual 
> Assist would be a good choice.
>
> It's always cumbersome to find a development IDE to suit your exact 
> needs, and furthermore the taste differs, but if you haven't tried the 
> Eclipse/CDT you should at least give it a try (although it might take 
> some getting used to at first).
>
> Good luck!
>
> /Anders
>
> -----Original Message-----
> From: wxuserbr... at yahoo.fr [mailto:wxuserbr... at yahoo.fr]
> Sent: den 10 februari 2007 21:15
> To: wx-us... at lists.wxwidgets.org
> Subject: Intellisense and wxWidgets
>
> Hi,
> i use Kdevelop on linux and DevCpp on windows. DevCpp is not too bad 
> for completion on wxWidgets but not good enought and Kdevelop is bad.
> So i just want to say what IDE people use to have a good completion 
> for wxWidgets, especially for methods, members and if possible MACROS.
> Because it is not easy to remember all methods of classes.
> Thanks a lot
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org





---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org





More information about the wx-users mailing list