Sublime Text 2: How to get scss and Less files to have color?

前端 未结 6 390
渐次进展
渐次进展 2021-01-31 01:25

I\'m using Sublime Text 2 and the css.scss and css.less files are in all white text - the comments, brackets, syntax - everything. If I look at my regu

6条回答
  •  失恋的感觉
    2021-01-31 02:02

    You can set the syntax for any specific extension. Please see this:

    http://www.codechewing.com/library/set-default-syntax-highlight-for-different-filetypes-sublime-text/

    Open the corresponding file with .scss/.less extension. From the menu at the top, goto View > Syntax > [Optional: Open all with current extension as...] > CSS

    enter image description here

提交回复
热议问题