IntelliSense does not work in Visual Studio 2010 if you are inside of a <script> tag and try to use @Html.. Anyone know how to enable or fix that?
Please note: This is not for javascript, jQuery, or similar, IntelliSense-enabling which is possible.
This appears to be a bug/complexity resulting from hosting JavaScript inside the HTML editor: http://aspnet.uservoice.com/forums/41199-general-asp-net/suggestions/2706979-improve-the-razor-intellisense-inside-script-block
It doesn’t look like it will be resolved anytime soon.