Sei sulla pagina 1di 1

RubyMine Default Keymap RubyMine Default Keymap RubyMine Default Keymap

Editing Rails Search/Replace


Space Basic code completion (any class, method or variable name) N Navigate to Rails model/view/controller etc. F Find
P Parameter info (within method call arguments) F2 Preview Rails View in browser F3 Find next
J or Mid. button click Quick documentation lookup Complete statement (only in RHTML) F3 Find previous
+ mouse over code Brief Info . Insert <%= %> (only in RHTML) R Replace
F1 Show descriptions of error or warning at caret G , C Generate Rails Controller F Find in path
/ N Generate code... (e.g. Rails Generators) G , I Generate Rails Migration R Replace in path
O Override methods G , M Generate Rails Model Usage Search
I Implement methods G , S Generate Rails Scaffold
F7 / F7 Find usages / Find usages in file
T Surround with... (begin...end, if...then...end, etc.) R , I Rake “db:migrate”
F7 Highlight usages in file
/ Comment/uncomment with line comment R , T Rake “test”
F7 Show usages
/ Comment/uncomment with block comment D Model Dependency Diagram
W Decrease current selection to previous state R Reload application sources (only in Rails Console) VCS/Local History
W Select successively increasing code blocks Refactoring K Commit project to VCS
Show intention actions T Update project from VCS
F5 Copy (only for files)
L Reformat code C View recent changes
F6 Move (only for files)
I Auto-indent line(s)
F6 Rename Live Templates/Snippets
/ Indent/unindent selected lines
V Introduce Variable J Insert Live Template
X Cut current line or selected block to buffer
M Extract Method ife if ... else ... end
C Copy current line or selected block to buffer
V Paste from buffer Navigation ea each { |element| }
V Paste from recent buffers forin for element in collection
N Go to class
D Duplicate current line or selected block ase assert_equal value, @obj.attr
N Go to file
Y Delete line at caret flash flash[:attr] = “...”
N Go to symbol
Start new line hm has_many :objects, :class_name =>
{/ } Go to next/previous editor tab
U Toggle case for word at caret or selected block “...”, :foreign_key => “..._id”
F12 Go back to previous tool window
E/ A Select till code block end/start ho has_one :object, :class_name => “”,
Go to editor (from tool window)
Delete to word end :foreign_key => “_id”
Hide active or last active window
Delete to word start ra render :action => “action”
F4 Close active run/messages/find/... tab
+ / - Expand/collapse code block rt render :text => “text”
G Go to line
+ Expand all desc RSpec describe
Go to bottom of page
- Collapse all and many more...
Go to top of page
W Close active editor tab E Recent files popup General
8 Toggle editor colum mode { / } Navigate back/forward 0 ... 9 Open corresponding tool window
Run Navigate to last edit location S Save all
F1 Select current file or symbol in any view Y Synchronize
F7 Open run/debug configurations dropdown
B or Click Go to declaration F12 Toggle full screen mode
F8 Run
I Open quick definition lookup F12 Toggle maximizing editor
F8 Debug
U Go to super-method/super-class F Add to Favorites
F8 / F8 Run/Debug context configuration from editor
/ Go to previous/next method I Inspect current file with current profile
R Run Rake task
E / A Move to code block end/start § or ` Quick switch current scheme
Debugging F12 File structure popup , Open Settings dialog
F10 Step over H Type hierarchy A Find Action
F9 Step into F2 / F2 Next/previous highlighted error
F10 Step out F4 / Edit source / View source
F8 Run to cursor Home Show navigation bar
F11 Evaluate expression F6 Toggle bookmark
F8 Resume program 0 ... 9 Toggle numbered bookmark
F7 Toggle breakpoint 0 ... 9 Go to numbered bookmark
F7 View breakpoints F6 Show bookmarks
F7 Show execution point

Copyright © JetBrains, Inc. 2000-2009. All Rights Reserved. Copyright © JetBrains, Inc. 2000-2009. All Rights Reserved. Copyright © JetBrains, Inc. 2000-2009. All Rights Reserved.

Potrebbero piacerti anche