Resharper Shortcuts
My Commonly-used Shortcuts
Shortcut | Description |
---|---|
Ctrl+Shift+R | Refactor this |
Ctrl+⇧ | Previous method |
Ctrl+Shift+, | Recent edits |
Ctrl+Bk | Last edit |
Ctrl+Shift+Q | Peek definition |
Ctrl+Alt+f | View file structure |
Ctrl+Shift+F4 | Close recent tool window |
Ctrl+Alt+Bk | Activate recent tool window |
Ctrl+PgUp/PgDown | Move to next highlight |
Not Enabled for My Setup
Ctrl+w | select parts of expressions Ctrl+Space | method signatures
Clipboard: ctrl-shift-v bookmarks: ctrl ` opens bookmarks ctrl+shift+ sets bookmark
Ctrl-Alt-Ins (Resharper generate file)
Viewing Call Hierarchies Using Resharper
An sometimes overlooked feature in resharper is “inspection.”
https://www.jetbrains.com/help/resharper/Reference__Windows__Inspection_Results.html
Ctrl -> Shift -> Alt -> A will show a code inspection quick menu. To see the full menu for the, select Resharper -> inspect
Next Issue in File A -> Pg Dwn Previous Issue in File Alt -> Pg up
next error / warning shift alt pgdn
previous error/warning shift + alt + pgup
https://www.jetbrains.com/help/resharper/Code_Analysis__Call_Tracking.html
https://www.jetbrains.com/resharper/features/code_templates.html
Mouse on symbol, alt-end, it’ll show derived types.
Highlight usages s-a-f11
Alt-enter on fromargb to choose color
Gotoimplementation command shows usages of base class
c-t with type part of path with slashes will find a file
a` -> decompiled sources
c-u-n -> add unit tests to session
Ctrl+w: select parts of expressions
c+s+,: recent edits
c+s+bk: last edit
c+s+space: method signatures
c+spc: double import completion
Ctrl+Shift+Q: Peek definition
Ctrl-Alt-F: File Structure
Ctrl-Shift-F4: Close recent tool window
Ctrl-Alt-Backspace: Activate recent tool window
Recent edits: Ctrl+shift+, Last edit: ctrl+shift+backspc
Clipboard: ctrl-shift-v
bookmarks: ctrl ` opens bookmarks ctrl+shift+ sets bookmark
Ctrl-Alt-Ins (Resharper generate file)
Make constructor with arg Alt-inst (resharper)