• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

erb-helper

ERB Helper makes it easy to insert and wrap ERB tags with Atom.
migeorge
1.1.0 13,077
29
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ERB Helper | Atom Package

ERB Helper makes it easy to insert and wrap ERB tags with Atom.

Usage

Command Name ERB Value Key Binding
ERB Output <%= %> CTRL + SHIFT + .
ERB Eval <% %> CTRL + .
ERB Comment <%# %> CTRL + SHIFT + 3
ERB End <% end %> CTRL + 8
ERB If <% if %> CTRL + 7
ERB Else <% else %> CTRL + 6
ERB Elsif <% elsif %> CTRL + SHIFT + 6

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.

Installation

Install from the Atom Package manager or the command line:

$ apm install erb-helper

Contributions

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by