Did you know… How to get syntax highlighting for a given file extension? – #097

On the Tools – Options – Text Editor – File Extension page, you can map a file extension to one of the included editors. 

Mapping a file extension .sara to an editor

And after mapping the .sara extension to a C# editor, we now get syntax highlight…

.sara file with C# syntax highlighting

There is also an option to map files without extensions to a specific editor.

Mapping extensionless files to an editor

Technorati tags: VS2005Tip, VS2008Tip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>