Tomas Sommar

A few selected ReSharper shortcuts

About a month ago, I and my colleague Tommy Bryntse visited a ReSharper presentation held by guru Hadi Hariri. Afterwards, we presented a summary to our .NET developers at Creuna of what we believe was the most useful ReSharper keyboard shortcuts demonstrated.  This is the list of the shortcuts we found most useful.

Ctrl + T:  Lookup type, either by name or by camel case letters (e.g. DT for DocumentType).

Ctrl + Shift + T: Same as Ctrl + T but instead searches for file name.

Alt + ?: Navigate to member within a class. Very useful for quickly finding a specific method, property or event within a type.

Alt + ´: Opens up a Navigate to dialogue with navigation options such as implementation, declaration, base symbols etc. for type at current caret position.

Ctrl + ,: Opens up a dialogue showing the locations of recent visited files.

Ctrl + Shift + ,: Opens up a dialogue showing the locations of recent edits.

Ctrl + Shift + Backspace: Takes caret back to most recent edit location.

Ctrl + Shift +R: Displays current refactorings available for the caret position.

Ctrl + W: Extends selection block-by-block.

Alt + Shift + Space: Global IntelliSense searching for types within all available namespaces and automatically adds a Using statement for the namespace of the contained type.

Alt + Ins: Insert new constructor, implement missing members, etc.

Ctrl + Alt + Ins: Creates a new class, struct, etc. in a new file.

Ctrl + R + V: Introduces a variable for the current selection.

Ctrl + E + U: Wraps statement within if-statement, using block, try-catch, etc.

Ctrl + Shift + V: Cycle clipboard.