Improve the Razor intellisense inside script blocks
Razor intellisense is being lost when I am working inside a script block. https://twitter.com/#!/tourismgeek/status/182131955771523072
Will be in VS2012 RTM
4 comments
-
rknl60
commented
I would be very happy if the javascript service can be disabled in the html editor. I prefer to have the razor intellisense over the Javascript
-
Beyers Cronje
commented
Would be really nice if you guys can fix this.
-
I don't think we are able to fix this issue in VS11. It sounds rather simnple, but it is actually very complex. Right now the HTML editor hosts the JavaScript language service inside the HTML. For the Razor scenario to work, the hosted JavaScript should then host the HTML editor again. Think of it as running a VM inside a VM with circular references. Complex stuff.
The HTML editor in Visual Studio has always had this problem with WebForm code nuggets <%%> as well.
However, we are looking at a better story for this for vNext
-
tugberk
commented
BTW, this is an issue on vs11 beta.