In Eclipse:
When I select In "File/New/Class/Add...",
I can see base class candidates from boost::, std::, sql::, and my current project.
I would like to add the Gnome classes (Gtk::, Glib::, etc.) to the list of candidates. Anybody know how to do that?
Eclipse CDT will only offer you classes to choose from if its indexer knows about them. To be able to add Gnome classes you might need to add the corresponding include directories to your project's include path (project->properties->c++ build->settings->c++ compiler->includes ...)
If you have done that already, you might try to rebuild the index for your project. If you use such a class you want to inherit from and can CTRL-click its name and jump to its definition/declaration then the index should be OK.
However, if Gnome will have headers that are hard to parse for CDT (e.g. macro settings required before you can use them), you might still have problems. I have no experience with Gnome to actually tell you if it is so.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With