下载了vs2008beta2,想体验一下新的javascript编辑功能。刚用了两三下,vs突然不认识js了。google了一下,找到解决办法。
Visual Studio 2008 Beta 2 not showing your JavaScript Intellisense / Intellicode / Syntax Highlighting?

I was about to jump on stage @ an internal airlift and all my JavaScript syntax highlighting was busted (of course I had installed VS 2008 Beta 2 the night before). I shot an email out to our distribution lists and I got a response within an hour (on a Saturday morning) with the fix:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}]

"CodeBase"=file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll

and

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}\InprocServer32\9.0.0.0]

"CodeBase"=file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll

Broken

clip_image002

Fixed

image 


原文地址:http://blogs.msdn.com/angus_logan/archive/2007/07/30/visual-studio-2008-beta-2-not-showing-your-javascript-intellisense-intellicode-syntax-highlighting.aspx