文章内容

2018/1/14 23:30:48,作 者: 黄兵

Keyboard Shortcuts: ReSharper 2.x Keymap

Rider's top keyboard shortcuts

CommandShortcut
Open Solution or ProjectCtrl+Shift+O
Open File or FolderCtrl+O
Show Action ListAlt+Enter
Search EverywhereCtrl+N Double-Shift
Navigate To…Ctrl+Shift+G
Find UsagesAlt+F7
Select In...Alt+F1
Settings...Ctrl+Alt+S
Generate...Alt+Insert
Build SolutionCtrl+Shift+B
Debug...Shift+Alt+F9
View Breakpoints...Ctrl+Shift+F8
Attach to Local Process...Ctrl+Alt+F5
VCS Operations Popup...Alt+'
Refactor This...Ctrl+Shift+R
Inspect This...Ctrl+Shift+Alt+A
Code Cleanup...Ctrl+Alt+F

Finding everything

CommandShortcut
Find...Ctrl+F Alt+F3
Find Next / Move to Next OccurrenceF3 Ctrl+Alt+Page Down
Find Previous / Move to Previous OccurrenceShift+F3 Ctrl+Alt+Page Up
Replace...Ctrl+H
Find in Path...Ctrl+Shift+F
Find in Path...Ctrl+Shift+F
Find Word at CaretCtrl+F3
Search EverywhereCtrl+N Double-Shift
File...Ctrl+Shift+N
File MemberCtrl+F12
Symbol...Ctrl+Shift+Alt+N

Navigating from symbols

CommandShortcut
DeclarationCtrl+B Ctrl+Click Right-click
Type DeclarationCtrl+Shift+T Ctrl+Shift+Click
Show UsagesCtrl+Alt+F7
Base SymbolsCtrl+U
Go To ImplementationCtrl+Shift+Alt+B Ctrl+Alt+Click
Derived SymbolsCtrl+Alt+B Ctrl+Alt+Click
Navigate To…Ctrl+Shift+G
Find UsagesAlt+F7
Highlight Usages in FileCtrl+Shift+F7

Context navigation

CommandShortcut
Move Caret to Code Block StartCtrl+[
Next MethodAlt+Down
Previous MethodAlt+Up
Line/Column...Ctrl+G
Select In...Alt+F1
Locate in Solution ExplorerShift+Alt+L
Recent FilesCtrl+E
Recently Changed FilesCtrl+Shift+Alt+Backspace
Last Edit LocationCtrl+Shift+Backspace
BackCtrl+Minus Ctrl+NumPad MinusMouse Back
ForwardCtrl+Shift+MinusCtrl+Shift+NumPad MinusMouse Forward
Add to FavoritesShift+Alt+F
Show Structure windowCtrl+Alt+7 Ctrl+Alt+F
Show Find windowAlt+3 Ctrl+Alt+U
Show TODO windowAlt+6
Show Favorites windowAlt+2

Code Analysis

CommandShortcut
Show Action ListAlt+Enter
Next Code IssueF12
Previous Code IssueShift+F12
Next ErrorAlt+F12
Previous ErrorShift+Alt+F12
Toggle Code InspectionCtrl+Shift+Alt+8
Toggle Code InspectionCtrl+Shift+Alt+I
Inspect This...Ctrl+Shift+Alt+A
Show Errors in Solution windowCtrl+Alt+2
Show Inspection Results windowCtrl+Alt+7 Ctrl+Alt+F

Creating and editing code

CommandShortcut
Select AllCtrl+A
Move Caret to Previous Word with SelectionCtrl+Shift+Left
Move Caret to Next Word with SelectionCtrl+Shift+Right
Move Caret to Page Top with SelectionCtrl+Shift+Page Up
Move Caret to Page Bottom with SelectionCtrl+Shift+Page Down
Extend SelectionCtrl+W
Shrink SelectionCtrl+Shift+W
Add Selection for Next OccurrenceAlt+J
CopyCtrl+C Ctrl+Insert
CutCtrl+X Shift+Delete Ctrl+L
PasteCtrl+V Shift+Insert
Paste SimpleCtrl+Shift+Alt+V
Paste from History...Ctrl+Shift+V Ctrl+Shift+Insert
Duplicate Line or SelectionCtrl+D
Copy PathsCtrl+Shift+C
Save AllCtrl+Shift+S
UndoCtrl+Z
Indent SelectionTab
Unindent Line or SelectionShift+Tab
Move Line UpShift+Alt+Up
Move Line DownShift+Alt+Down
Toggle CaseCtrl+Shift+U
Scratch FileCtrl+Shift+Alt+Insert

Coding assistance

CommandShortcut
Show Action ListAlt+Enter
BasicCtrl+Space
SmartTypeCtrl+Shift+Space
Class Name CompletionCtrl+Alt+Space
Complete Current StatementCtrl+Shift+Enter
Parameter InfoCtrl+P
Quick DocumentationCtrl+Q
Move Statement UpCtrl+Shift+Alt+Up
Move Statement DownCtrl+Shift+Alt+Down
Move Statement LeftCtrl+Shift+Alt+Left
Move Statement RightCtrl+Shift+Alt+Right
Comment with Line CommentCtrl+/ Ctrl+NumPad /
Comment with Block CommentCtrl+Shift+/ Ctrl+Shift+NumPad /
Generate...Alt+Insert
Code Cleanup...Ctrl+Alt+F
Silent Code CleanupCtrl+Shift+Alt+F

Refactorings

CommandShortcut
Refactor This...Ctrl+Shift+R
Change Signature...Ctrl+F6
Inline...Ctrl+Alt+N
Move...F6
Method...Ctrl+Alt+M
Field...Ctrl+Alt+D
Parameter...Ctrl+Alt+P
Variable...Ctrl+Alt+V
Rename...F2
Safe Delete...Alt+Delete

Global VCS actions

CommandShortcut
VCS Operations Popup...Alt+'
Show Version Control windowAlt+9 Shift+Alt+9
CommitCtrl+K
Update ProjectCtrl+Alt+W
RevertCtrl+Alt+Z
Push...Ctrl+Shift+K
Next ChangeCtrl+Shift+Alt+N
Previous ChangeCtrl+Shift+Alt+P

Unit Testing

CommandShortcut
Unit Testing Quick List...Shift+Alt+U
Run Unit TestsCtrl+T, R Ctrl+T, Ctrl+R
Debug Unit TestsCtrl+T, D Ctrl+T, Ctrl+D
Stop ExecutionCtrl+T, S Ctrl+T, Ctrl+S
Repeat Previous RunCtrl+T, T Ctrl+T, Ctrl+T
Rerun Failed TestsCtrl+T, F Ctrl+T, Ctrl+F
Run All Tests from SolutionCtrl+T, L Ctrl+T, Ctrl+L
Create New SessionCtrl+T, N Ctrl+T, Ctrl+N
Append Tests to SessionCtrl+T, A Ctrl+T, Ctrl+A
Run Current SessionCtrl+T, Y Ctrl+T, Ctrl+Y
Show Unit Tests windowAlt+8 Shift+Alt+8
Run Unit Tests (Tool Window)Shift+Enter Ctrl+R
Debug Unit Tests (Tool Window)Ctrl+D
Run Current Session (Tool Window)Ctrl+Y
Rerun Failed Tests (Tool Window)Ctrl+F
Create New Session (Tool Window)Shift+Alt+Insert
Append Tests to Session (Tool Window)Ctrl+Alt+Insert
Remove Selected Tests (Tool Window)Delete
Run All Tests from Solution (Tool Window)Ctrl+L

Tool Windows

CommandShortcut
BuildAlt+0
SolutionAlt+1
FavoritesAlt+2
FindAlt+3 Ctrl+Alt+U
RunAlt+4
DebugAlt+5
TODOAlt+6
NuGetAlt+7 Shift+Alt+7
Unit TestsAlt+8 Shift+Alt+8
Version ControlAlt+9 Shift+Alt+9
TerminalCtrl+Alt+1
Errors In SolutionCtrl+Alt+2
DatabaseCtrl+Alt+3
Inspection ResultsCtrl+Alt+4 Ctrl+Alt+,
StructureCtrl+Alt+7 Ctrl+Alt+F

本文转载自:Keyboard Shortcuts: ReSharper 2.x Keymap

分享到:

发表评论

评论列表