Visual Studio ASP .Net MVC Intellisense

≡放荡痞女 提交于 2019-12-21 17:01:56

问题


the vs 2008 intellisense doesn't work if i use it inside html attribute. example

<form method="post" action="<%= Url.Action %>"

while i'm typing Url.Action the code hint doesn't work, instead it gave me options of files that can be used for the "action" value.

Is it normal that the intellisense doesn't work inside html attribute? or am'i missing something to fix this bug.


回答1:


I think it's just that way for now. I have the same 'issue' but got used to it.

Tip: If I need Intellisense, I just create a separate <% %> bracket somewhere else temporarily (where Intellisense will work), write the code I need, and then copy it to where I need it.




回答2:


I just installed Visual Studio 2010 Beta 1 and it doesn't work in this version either. I really hope they fix this before the final release.

Edit: I just installed Visual Studio 2010 Beta 2 and it still doesn't work.



来源:https://stackoverflow.com/questions/1250600/visual-studio-asp-net-mvc-intellisense

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!