For older version of Visual Studio it was a simple tweak in registry
http://codebetter.com/darrellnorton/2004/04/21/get-visual-studio-syntax-highlighting-for-alternate-file-extensions/
But for Visual Studio 2010+ the same key doesn't exist in registry so how to do it now ?
press CTRL + K then press M.
Syntax highlighting determines the color and style of source code displayed in the Visual Studio Code editor. It is responsible for colorizing keywords like if or for in JavaScript differently than strings and comments and variable names.
A Visual Studio extension for easily adding new files to any project. Simply hit Shift+F2 to create an empty file in the selected folder or in the same folder as the selected file.
Go to Tools -> Options -> Text Editor -> File Extension
and type your alternative extension and then associate it with your editor (e.g. Microsoft Visual C++
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With