[osg-users] Header files with no file type? (no .h)
Sorry if this seems like a noob question, but why do all of the header files in the codebase not have a '.h' filetype? The reason I ask is because it seems that Visual Studio won't highlight any syntax, or provide any of its features while viewing these header files (probably because they don't have a .h associated to it). Is there a way to have VS highlight syntax in these header files that aren't a .h filetype? Thanks Nick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26933#26933 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Header files with no file type? (no .h)
Hi Nick, You can enable syntax highlighting for extensionless headers : http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio , look for extensionless. Mourad On Sun, Apr 18, 2010 at 11:03 PM, Nick Schultz schul...@engr.orst.eduwrote: Sorry if this seems like a noob question, but why do all of the header files in the codebase not have a '.h' filetype? The reason I ask is because it seems that Visual Studio won't highlight any syntax, or provide any of its features while viewing these header files (probably because they don't have a .h associated to it). Is there a way to have VS highlight syntax in these header files that aren't a .h filetype? Thanks Nick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26933#26933 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Header files with no file type? (no .h)
Cool, that worked! Quoted from bouffa's link: 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. Thanks! Nick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26935#26935 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org