Skip to content

xurdedix/atom-erb-comment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: