Robert Osfield <[EMAIL PROTECTED]> writes:

> I don't know Eclipse, but perhaps it has support for indentifing file
> types based on a search string, 

search string yes, but not for the file content.

> 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.

I know, unfortunately eclipse doesn't for reasons I don't know.

Eclipse has a content-type-registry, which is based on 
 1. file-extension pattern (i.e. "*.hpp") 
 2. full filename (i.e. "algorithm")

I fear one has to write a eclipse plug-in which determines the type for given
files and append them to the content-type-registry via full filename.


Regards,
 -- Maik


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to