Updated to RubyMine 5, lost all the shortcuts that add snippets

Hi everybody,

Before RubyMine 5, I could press a shortcut and a snippet of text would be inserted under the caret. Here are a couple of examples:

  • I press Control+P and `params[:id]` is inserted.
  • I press Control+L and a hash rocket (=>) is inserted

Those two keyboard shortcuts do not work anymore. How to enable them again please?
2 comments
Comment actions Permalink

Hi,

go to Settings|Keymap, the actions your are looking for is Main Menu|Tools|Extensions|Ruby|Insert '=>' and Main Menu|Tools|Extensions|Rails|Insert 'params[:id]'
You can assign shortcuts for these actions.

Regards, Oleg.

0
Comment actions Permalink

Thanks a lot!

0

Please sign in to leave a comment.