title: How do I enable syntax highlighting of CUDA .cu files in Visual Studio 2010?
body: <p>When I edit a <code>.cu</code> file in Microsoft Visual Studio 2010, the editor treats it as a regular text file (there are no colors on keywords such as <code>int</code>, <code>float</code> etc. Closing brackets are not highlighted).</p>
  
  <p>How do I enable syntax highlighting of <code>.cu</code> files in Visual Studio, so that editing <code>.cu</code> files is like editing regular C / C++ files?</p>