How to turn on Visual Studio 2010 .css Intellisense on .less file

前端 未结 9 986
遇见更好的自我
遇见更好的自我 2020-12-13 01:30

Does anyone know how to enable css intellisense in a non .css file extension? I have a .less file that is basically a .css file but visual studio will not use .css intellis

9条回答
  •  半阙折子戏
    2020-12-13 02:27

    Try using the CSS Is Less extension for VS2010:

    http://visualstudiogallery.msdn.microsoft.com/dd5635b0-3c70-484f-abcb-cbdcabaa9923

    Forces .LESS files to open in the CSS editor, without having to change settings or adding HTML tags to your LESS file.

提交回复
热议问题