Alt+Enter shows code assistance options:
While the menu is shown you can start typing an action name and ReSharper will show all related commands.
| Select a symbol and then:|
Navigate > Go to Declaration
|F12|| - Navigates to the declaration of the selected symbol
- Navigates to partial classes and decompiled sources
- Navigates to base symbols or derived symbols of overridden members.
|Navigate > Go to Everything / Type||Ctrl+T|| - Also navigates to filenames.
- Allows you to include types from libraries.
- Supports camel humps search.
- Supports jumping to a specified line in source code.
- Double Ctrl+T allows you to search just the types (no filenames, no members, etc.).
|Navigate > Go to Symbol||Shift+Alt+T||Navigates to a class as well as any class member.|
|Navigate > Go to File Member||Alt+\||Navigates to members is the current file.|
|Navigate > Go to Text||Ctrl+T Ctrl+T Ctrl+T||Includes text in comments.|
|Navigate > Go to Action||Ctrl+Shift+A|| - Searches ReSharper own functionality.
- Shows where the actions are in the menu.
- Shows keyboard shortcuts.
Navigate down and up the class hierarchy:
| Navigate > Derived Symbols|
(after selecting an interface or a base class name)
|Alt+End|| Shows derived classes from the selected interface or the base class.
Also shows the classes that derive indirectly (transitive relationships).
|Navigate > Base Symbols||Alt+Home||You can also navigate to the base symbol by clicking an icon on the left gutter.|
|Inspect > Hierarchies||Ctrl+E,H|| - Visualizes inheritance hierarchy.
- Brings architecture explorer (diagram).
You can also go up and down on the hierarchy of members such as overridden properties and methods.
Alt+` shows Navigate To menu. It shows any possible navigation option available for the selected symbol.
Numbered bookmarks, for example '1':
|Navigate > Bookmarks > Bookmarks||Ctrl+`||Shows the list of bookmarks (numbered and anonymous).|
Find all locations a selected symbol is used:
Find locations where a class is returned from a method or a property:
Find extensions methods which are defined on a selected class:
Usings and References
Encapsulating property generation:
Live Templates (Tools > Templates Explorer) include:
Create a new Live Template:
public class $NAME$
$END$- specifies where the cursor is located after the template is fully expanded
Surround Templates (Tools > Templates Explorer) include:
$SELECTION$template parameter specifies whatever we need to surround
Show built-in surround templates:
Access ReSharper options in Visual Studio:
Configure what happens when you Go To Declaration:
You may be able to fix some problems with ReSharper by: