Skip to content

Tip 2.21: How to get syntax highlighting for a given file extension

September 29, 2014

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

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

And after mapping the .Nils extension to a C# editor, we now get syntax highlighting for the file.

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

Happy Programming! =)

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: