|
// https://github.com/fabiokr/sublime-related-files |
|
|
|
{ |
|
"patterns": { |
|
// Components Ruby classes |
|
".+\/app\/components\/(.+).rb": |
|
[ |
|
"app/components/$1.html.slim", |
|
"app/components/$1.rb", |
|
"app/components/$1.scss", |
|
"app/components/$1_controller.js", |
|
"test/components/$1_test.rb", |
|
"test/components/previews/$1_preview.rb" |
|
], |
|
|
|
// Components templates |
|
".+\/app\/components\/(.+).html.slim": |
|
[ |
|
"app/components/$1.rb", |
|
"app/components/$1.scss", |
|
"app/components/$1_controller.js", |
|
"test/components/$1_test.rb", |
|
"test/components/previews/$1_preview.rb" |
|
], |
|
|
|
// Components JavaScript |
|
".+\/app\/components\/(.+)_controller.js": |
|
[ |
|
"app/components/$1.html.slim", |
|
"app/components/$1.scss", |
|
"app/components/$1.rb", |
|
"test/components/$1_test.rb", |
|
"test/components/previews/$1_preview.rb" |
|
], |
|
|
|
// Components JavaScript |
|
".+\/app\/components\/(.+).scss": |
|
[ |
|
"app/components/$1.html.slim", |
|
"app/components/$1.rb", |
|
"app/components/$1_controller.js", |
|
"test/components/$1_test.rb", |
|
"test/components/previews/$1_preview.rb" |
|
], |
|
|
|
// Components previews |
|
".+\/test\/components\/previews\/(.+)_preview.rb": |
|
[ |
|
"app/components/$1.html.slim", |
|
"app/components/$1.rb", |
|
"app/components/$1.scss", |
|
"app/components/$1_controller.js", |
|
"test/components/$1_test.rb" |
|
], |
|
|
|
// Components previews |
|
".+\/test\/components\/(.+)_test.rb": |
|
[ |
|
"app/components/$1.html.slim", |
|
"app/components/$1.rb", |
|
"app/components/$1.scss", |
|
"app/components/$1_controller.js", |
|
"test/components/previews/$1_preview.rb" |
|
], |
|
} |
|
} |