RubyMine Reference Card Mac

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

RubyMine Default Keymap

Editing
Space P J or Mid. button click + mouse over code F1 / N O I T / / W W L I / X C V V D Y U U E/ Basic code completion (any class, method or variable name) 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 Implement 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 all/Collapse all Move line/selection up/dn Toggle editor colum mode 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 expression Resume program Toggle breakpoint View breakpoints Show execution point
Copyright JetBrains, Inc. 2000-2010. All Rights Reserved.

RubyMine Default Keymap


Rails
N F2 . G,C G,I G,M G,S R,I R,T D R R Navigate to Rails model/view/controller etc. Preview Rails View in browser Complete statement (only in RHTML) Insert <%= %> (only in RHTML) Generate Rails Controller Generate Rails Migration Generate Rails Model Generate Rails Scaffold Rake db:migrate Rake test Model Dependency Diagram Reload application sources (only in Rails Console) Ruby/Rails quick list Copy (only for files) Move (only for files) Rename Introduce Variable Introduce Constant Introduce Field Inline Extract Method Refactor this... quick list Go to class Go to file Go to symbol Go to next/previous editor tab Go to line Go to bottom of page Go to 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 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
Copyright JetBrains, Inc. 2000-2010. All Rights Reserved.

RubyMine Default Keymap


Search/Replace
F F3 F3 R F R Find Find next Find previous Replace Find in path Replace in path Find usages / Find usages in file Highlight usages in file Show usages Commit project to VCS Update project from VCS View Diff VCS operations popup Insert Live Template if ... else ... end each { |element| } for element in collection assert_equal value, @obj.attr flash[:attr] = ... has_many :objects, :class_name => ..., :foreign_key => ..._id has_one :object, :class_name => , :foreign_key => _id render :action => action render :text => text RSpec describe

Usage Search
F7 / F7 F7 F7

VCS/Local History
K T D V J ife ea forin ase flash hm ho ra rt desc and many more...

Refactoring
F5 F6 F6 V C F N M F

Live Templates/Snippets

Navigation
N N N {/ G }

+/ +/ / 8

Run
F7 F8 F8 F8 / R

E {/

General
0 ... 9 S Y F12 F12 F I , A F12 Open corresponding tool window Save all Synchronize Toggle full screen mode Toggle maximizing editor Add to Favorites Inspect current file with current profile Open Settings dialog Find Action Go back to previous tool window Go to editor (from tool window) Hide active or last active window Close active editor tab Close active run/messages/find/... tab Switch editor tabs and IDE tool-windows

F8

Debugging
F10 F9 F10 F8 F11 F8 F7 F7 F7

F1 B or Click I U / E/ A F12 H F2 / F2 F4 / Home F6 F6 0 ... 9 F6

W F4

Copyright JetBrains, Inc. 2000-2010. All Rights Reserved.

You might also like