add missing sass/scss color scheme in IntelliJ
已回答
I have installed both IntelliJ Ultimate 2018.1, and Webstorm.
I am using IntelliJ and require sass/scss code highlighting, which is available out of the box in Webstorm. However the sass/scss option is not shown in File | Settings | Editor | Color Scheme, though I do see it there in Webstorm. How can I add this to IntelliJ? It is my understanding that IntelliJ can do anything any of the other editors do.
Thanks!
请先登录再写评论。
This feature is available in IntelliJ IDEA Ultimate:
Which plug-ins do you have disabled? http://www.jetbrains.com/idea/webhelp/enabling-and-disabling-plugins.html.
Plugins was part of the problem - in File | Settings | Plugins, I did not have Sass support selected. I have now selected Sass support, and restarted IntelliJ.
I still do not have any colored code highlighting in the .scss files yet. (though there is colored highlighting in File | Settings | Editor | Color Scheme | Sass/SCSS, just as in your example screenshot).
Is there another step I should take?
Thanks
Check the file types:
Excellent! Thanks! This was my missing step. Previously, I had added ".scss" without the "*" as an oversight.
Recap: