Search code examples
ruby-on-railssasssublimetext2code-hinting

How to enable code hinting for css in Sublime Text 2?


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.


Solution

  • I haven't done it myself with scss but here is my suggestion:

    1. Install wbond's package control
    2. Restart Sublime
    3. Hit ctrl + shift + p
    4. Type install package and hit enter
    5. Type scss and hit enter
    6. Restart Sublime

    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 :)