• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

erb-comment

Patch for rails html.erb comment
  • #rails
  • #erb
  • #comment
  • #ruby
xurdedix
0.3.2 905
4
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ERB Comment

Build Status

Atom erb comment package

Patch for rails html.erb comment. Comment with ruby ​​comment instead of html comment if it is a file of type "HTML (Rails)" else launches the standard comments "editor: toggle-line-comments"

erb comment example

Installation

apm install erb-comment

Key config

Set the key you want in the Edit > Keymap menu. Adding this code to the end of the file keymap.cson:

'atom-text-editor:not([mini])':
   'ctrl-/': 'erb-comment:toggle'

or

'atom-text-editor:not([mini])':
   'ctrl-shift-c': 'erb-comment:toggle'

For more info about keymap see atom documentation:

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