No matter what I do I can't seem to get it to recognize razor syntax in a cshtml (view).
I've even tried to rest visual studio settings, but to no avail.
It compiles and runs fine. But I get no intellisense and the syntaxes doesn't get highlighted.
e.g if I type @Url.Action("") or maybe @{ int x = 0; } it just displays as plain text, no color coding or anything. And I get no intellisense when typing either.
However for the html tags and attributes it works. Any suggestions would be appreciated.