Colorization and intellisense support for Razor-based view
templates is now supported within Visual Studio and the free Visual Web
Developer Express.
Intellisense works for HTML, C#, VB, JavaScript and CSS when
editing within razor based view templates:
You get full C#/VB code intellisense – including against
HTML helper methods (all of the existing Html helper methods in ASP.NET MVC
also work just fine in Razor based views):
We also provide intellisense for Razor keywords and
directives:
Note below how after setting the @model directive to be a
Product, the strongly-typed HTML helpers (and the “Model” property within the
template) are now typed correctly to provide intellisense for a “Product”
class:
We are still doing final performance tuning on the editor
(and have several optimizations that just missed today’s build). If you
encounter a scenario where intellisense either doesn’t seem to work or seems
slower than it should be – please send us a repro so that we can verify that
our latest builds have it fixed.