[osg-submissions] Script to generate the Visual Studio syntax highlighting files automatically.
Jean-Sebastien Guay
jean-sebastien.guay at polymtl.ca
Fri Jan 18 12:37:33 PST 2008
Hello,
> > > Do you know that Visual Studio can map extensionless files to one of
> > > languages? You can find it at menu Tools - Options - Text Editor - File
> > > extensions and check option "Map extensionless files" at bottom of the
> > > page. Select "Microsoft Visual C++" in list.
> >
> > Is this a recent feature?
>
> I think it's been there since 7.0. I'll have to check if it's reliable. You
> can postpone checking in the reg files and the perl script until then.
Seems to work well. An advantage is that there's nothing to update when OSG adds
new headers. The disadvantage is that it can only be set to one language, so if
the user was using that setting for something else (unlikely) it'll have to be
changed.
Anyways, I can add a note to the README in the VisualStudio directory to that
effect, and you can remove the .reg files from the SVN and ignore this
submission. Funny thing is, I had added a note about that setting to the
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio
page, but totally forgot about it. :-) I guess I was really itching to do some
perl...
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at polymtl.ca
http://whitestar02.webhop.org/
More information about the osg-submissions
mailing list