Reputation: 6004
I am new to rails and using Sublime Text 2 for my code writing. It's working well with .erb
files but when it comes to writing css in scss
files I am not sure how I enable code hinting for css. Like when I want to write font
it will display all font name attributes like what we have in Dreamweaver
. How could I do this?
Note: I already googled and found some package/plugins are available, but I am not sure which one to use and How to use as I am new to this.
Upvotes: 1
Views: 2359
Reputation: 21
In addition to what Jondlm mentioned, make sure you also have CSS syntax selected for scss. To do this, hit ctrl+shift+p then type 'CSS' and select 'Set syntax: CSS' which should be the first option :)
Upvotes: 0
Reputation: 8892
I haven't done it myself with scss
but here is my suggestion:
ctrl + shift + p
install package
and hit enter
scss
and hit enter
You should now get more functionality for .scss
files. See here for more documentation on the package.
PS. package control is the bomb for Sublime :)
Upvotes: 5