Updated to RubyMine 5, lost all the shortcuts that add snippets Follow
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?
Please sign in to leave a comment.
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.
Thanks a lot!