Visual-studio – How to get Visual Studio to do vbscript syntax highlighting for .asp files

syntax highlightingvisual studiovisual-studio-2008

asp files are highlighted as html in Visual Studio 2008 unless I put language=vbscript in all my <% > code blocks. lame! when I go to tools -> options -> text editor -> file extention I don't get vbscript or vb as an option, only c#, c++, html, etc

Best Answer

turns out VB wasn't installed :P

  1. make sure it is
  2. in VS, go to tools -> options -> text editor -> file extension
  3. add asp as the extension and pick Visual Basic as the editor