An Atom package to easily create partials for your ruby on rails application.
.erb
, .haml
and .slim
files..scss
and .sass
files.app/views/shared/_footer.html.yourext
shared/footer user:@user var:@var
generates <%= render 'shared/footer', user: @user, var: @var %>
and refactors the variables inside the partial.'
or "
quotesIn Atom, open Preferences > Packages, search for rails-partials package. Once it found, click Install button to install package.
You can trigger the extension by:
Right clicking with a selection and selecting the command (.gif)
ctrl + alt + P: The default keybinding (darwin), can be changed with your favorite.
shift + alt + P: The default keybinding (linux / windows), can be changed with your favorite.
Please report any problems or suggestions at issue tracker.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.