Hi Maik, I don't know Eclipse, but perhaps it has support for indentifing file types based on a search string, a number of software orientated editors has support for this, all OSG headers have -*-c++-*- in the comment string at the beginning of the file to support this.
Robert. On Sat, Apr 26, 2008 at 11:37 PM, Maik Beckmann <[EMAIL PROTECTED]> wrote: > Maik Beckmann <[EMAIL PROTECTED]> writes: > > > Is someone out there who managed to tell the CDT indexer that all files in > > include > > are C++ headers? > > > > I know they can just be opened with the C++ editor, but the indexer keeps > on > > ignoring them. Thus the all the code-browsing functionality (jump to > > declaration/definition) is gone. > > > > I answer myself. > > Project Properties -> C/C++ General-> Paths and symbols. > At the "Includes" Tab hit "Add" and add the OSG's include folder. > > The indexer does it's work. The jump to definition etc. stuff works. > > Note: This brings back most of the functionality, but not all. The CDT > Editor > can identify and highlight local, global and member variables etc. . This > doesn't work. > > Best, > -- Maik > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

