Is there any way to make Visual Studio 2010 automaticly add colon after selecting property name when writing CSS code?
Same as Adobe Dreamweaver does?
Is there any way to make Visual Studio 2010 automaticly add colon after selecting property name when writing CSS code?
Same as Adobe Dreamweaver does?
我知道VS2012的Web Essentials 2012插件具有此功能(并且我使用它)。我不确定Web Essentials for VS2010是否也有这个,但你可以试试。
插件安装后转到:工具 -> 选项 -> Web Essentials -> CSS -> 启用快速键入 (TRUE)
使用 Resharper 会有所帮助,它对 CSS 有非常漂亮的智能感知支持。我不确定它是否会自动添加冒号。