ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rails​Go​To​Sass

by xijo ALL

Sublime Text 3 package to navigate to sass files inside of your rails project

Details

Installs

  • Total 826
  • Win 363
  • Mac 249
  • Linux 214
Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Rails Go to Sass

Based on https://github.com/sporto/rails_go_to_spec

From a *.html.slim, *.html.erb, *.html.haml file this plugin will open the corresponding sass partial. E.g.:

/app/views/admin/pages/show.html.slim -> /app/assets/stylesheets/admin/pages/_show.sass
/app/views/admin/pages/_foo.html.haml -> /app/assets/stylesheets/admin/pages/_foo.sass

From a *.sass file it will attempt to find a matching view template or partial.

/app/assets/stylesheets/admin/pages/_show.sass -> /app/views/admin/pages/show.html.slim
                                                  /app/views/admin/pages/_show.html.slim
                                                  /app/views/admin/pages/show.html.haml
                                                  /app/views/admin/pages/_show.html.haml
                                                  /app/views/admin/pages/show.html.erb
                                                  /app/views/admin/pages/_show.html.erb

Installation

Using Sublime Package Control http://wbond.net/sublime_packages/package_control

Install rails_go_to_sass

Usage

  • Run from menu > Goto > Rails Go to Sass
  • Default key binding is command + shift + u
  • Or run from command palette 'Rails Go to Sass'