Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xijo/sublime_rails_go_to_sass
Sublime Text 3 package to navigate to sass files inside of your rails project
https://github.com/xijo/sublime_rails_go_to_sass
Last synced: about 2 months ago
JSON representation
Sublime Text 3 package to navigate to sass files inside of your rails project
- Host: GitHub
- URL: https://github.com/xijo/sublime_rails_go_to_sass
- Owner: xijo
- Created: 2016-01-28T17:52:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-02T20:18:40.000Z (almost 9 years ago)
- Last Synced: 2023-04-09T05:56:45.881Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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_controlInstall 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'