css intellisense not firing for class attribute in MVC 4 (VS12 Update 3, VS13 Preview)

允我心安 提交于 2020-01-05 05:43:10

问题


I have googled a lot to try to find a fix for this. But none of the discussion is helping me. Here is my situation.

For him in this question. He says that css intellisense is working if he adds css like below. I am already using this method.

<link href="~/Content/style.css" rel="stylesheet" />

adding type="text/css" is also not working. I usually do not use this attribute but tried adding this when I saw in this question.

I also have both of these tools installed Web Essential 2012 and Microsoft Web Developer Tools extension.

Besides that, intellisense is working everywhere perfectly. It is also generating intellisense for HTML element, Razor expressions and even for JavaScript (jQuery too).

In the image below, there is no intellisense at current cursor location.

Please help me getting rid of this.

Added:
It won't generate list of css classes even if I add a few css classes in <style></style section.

来源:https://stackoverflow.com/questions/18060913/css-intellisense-not-firing-for-class-attribute-in-mvc-4-vs12-update-3-vs13-pr

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