Admin Visual Micro - Arduino IDE fun for Visual Studio

How to configure Arduino syntax "color coding" in Visual Studio

by Visual Micro 9. October 2011 06:41

these instructions are not required for Atmel Studio versions, Atmel users please install visual micro version 1305.21 +

Due to a VS bug 10.11+ versions require you to manually tell visual studio to color code your arduino code.

1. Open the Visual Studio Tools>Options

2. Navigate to Text Editor>File Extensions

3. Add the INO and PDE extensions setting the Editor to "Microsoft Visual C++" for each

4. Click OK and re-open any open sketch code files

This is what you should see once you have made the changes

Note: Users of versions earlier than 10.11 who encounter random color code failings should remove the extensions from the above list. Click OK and then re-add them as shown above