Hadi Hassan Hadi Hassan - 7 months ago 34
HTML Question

In MVC, how to add intellisense to the html helpers

I am wondering if there is a way to allow the intellisense to work with the html attributes of the mvc helpers like

@Html.EditorFor(m=>m.FieldName, new {@class="from-control col-md-3"})

Is there a way to allow intellisense inside ( @class= "... here ..." )?


The is intellisense will not work since the @Html.EditorFor(m=>m.FieldName, new {@class="from-control col-md-3"}) is a C# code, so css intellisense will not work inside c#.