【问题标题】:CSS class name autocomplete (IntelliSense) not working for "cshtml" files in VS Code (Suggested approaches did not work)CSS 类名自动完成(IntelliSense)不适用于 VS Code 中的“cshtml”文件(建议的方法不起作用)
【发布时间】:2021-07-12 09:49:56
【问题描述】:

虽然我已经安装了“HTML CSS Support”和“IntelliSense for CSS class names in HTML”扩展并且它们适用于其他文件,但它们不适用于“cshtml”文件。

感谢任何解决方案。

更新

我了解到,在我的这个项目中,“CSS 类名”扩展甚至没有被激活。

【问题讨论】:

    标签: visual-studio-code razor autocomplete intellisense


    【解决方案1】:

    到目前为止,唯一对我有用的方法是将 CSS 文件添加到项目中,即使没有将其链接到任何文件。

    【讨论】:

      猜你喜欢
      • 2021-02-07
      • 2018-09-27
      • 1970-01-01
      • 1970-01-01
      • 2018-03-11
      • 2018-01-17
      • 2019-08-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多