Hi ERlend,

> why arent the ".h" postfix used in openscenegraph? Because of this i get 
> no syntax highlighting in visual studio.net

This is a philosophical choice, the motivations of which have been 
discussed to death so please search the archives.

To get syntax highlighting on the headers, see

http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio

Near the end of the page there is a section "Extensionless headers and 
syntax highlighting on Visual Studio 7, 8 or 9". (just updated to remove 
references to the .reg files, which we don't distribute anymore)

To quote:

"Go to Tools-Options, then Text Editor-File Extension, check "Map 
Extensionless Files To" at the bottom and select "Microsoft Visual C++" 
in the list to the right."

There is also a text file called "VisualStudio_Syntax_Highlighting.txt" 
in the PlatformSpecifics\Windows directory of the OSG distribution that 
says basically the same thing.

Hope this helps,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to