Professional Documents
Culture Documents
5+ Keymap
Editing
Space P J or Mid. button click + mouse over code F1 , N O T / / L I / X C V V D U U ]/ [ + / - +/ - / Basic code completion (any class, method or variable name) Complete current statement Parameter info (within method call arguments) Quick documentation lookup Brief Info Show descriptions of error or warning at caret Generate code... (e.g. Rails Generators) Override methods Surround with... (begin...end, if...then...end, etc.) Comment/uncomment with line comment Comment/uncomment with block comment Select successively increasing code blocks Decrease current selection to previous state Show intention actions/quick-fixes Reformat code Auto-indent line(s) Indent/unindent selected lines Cut current line or selected block to buffer Copy current line or selected block to buffer Paste from buffer Paste from recent buffers Duplicate current line or selected block Delete line at caret Start new line Toggle case for word at caret or selected block Toggle Camel/Snake Case Select till code block end/start Delete to word end Delete to word start Expand/collapse code block Expand/collapse all Move line/selection up/down Open run/debug configurations dropdown Run Debug Run/Debug context configuration from editor Run Rake task Step over Step into Step out Run to cursor Evaluate / Quick evaluate expression Resume program Toggle breakpoint View breakpoints Show execution point
Usage Search
F7 / F7 F7 F7
Rails
F2 . G R R Navigate to Rails model/view/controller etc. Preview Rails View in browser Insert <%= %> in RHTML Run Rails generator Reload application sources in Rails Console Ruby/Rails quick list Go to class Go to file Go to symbol Go to next/previous editor tab Go to line Go to bottom/top of page Recent files popup Navigate back/forward Navigate to last edit location Select current file or symbol in any view Go to declaration Go to type declaration Open quick definition lookup Go to super-method/super-class Go to previous/next method Move to code block end/start File structure popup Type hierarchy Next/previous highlighted error Edit source / View source Show navigation bar Toggle bookmark Toggle bookmark with mnemonic Go to numbered bookmark Show bookmarks Show diagram/diagram popup Surround with Live Template Insert Live Template
VCS/Local History
K T C D V
General
0 ... 9 S Y F F12 F I , F12 W ` Command Option / Alt Control Shift
Navigation
O O O / L / E /
Running
R/ R D R/ R F8 F7 F8 F9 F8 / F9 F8 F8 F10 D D
F8
Live Templates/Snippets
J J
www.jetbrains.com/ruby
blogs.jetbrains.com/ruby
@rubymine
Debugging