ERB Helper makes it easy to insert and wrap ERB tags with Atom.
|Command Name||ERB Value||Key Binding|
|ERB Output||<%= %>||
|ERB Eval||<% %>||
|ERB Comment||<%# %>||
|ERB End||<% end %>||
|ERB If||<% if %>||
|ERB Else||<% else %>||
|ERB Elsif||<% elsif %>||
You can also find the commands in the Right Click context menu.
If you select some text before executing a command the text will be wrapped with the appropriate tag.
Install from the Atom Package manager or the command line:
$ apm install erb-helper
Contributions are welcome, just create a pull request.
If there is a feature that you'd like to see added to the package just open a new issue.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.