JetBrains Rider 2021.1 Help

Quick Definition

View | Quick Definition
Ctrl+Shift+I

Use Quick Definition Ctrl+Shift+I to study declarations and implementations of types and members that are used in the current context without leaving the current editing position. It works for both your solution code and library symbols.

In contrast to Go to Declaration Ctrl+B, which switches your context to the desired definition, Quick Definition opens a popup where you can study the definition:

JetBrains Rider: Quick Definition

From the Quick Definition popup, you can study the symbol further:

  • Click Icons actions more and choose Edit Source Icons actions edit source or press F4 to open the definition in a new editor tab and close the popup.

  • Click Icons actions more and choose Open in Find Tool Window Open in Find Tool Window to display all definitions of the symbol in the Find window. This could be helpful for interfaces and partial classes.

  • Press Escape to close the popup and return the caret where it was before.

If you use Quick Definition on a symbol with multiple definitions — a partial class, for example — you will see the number of definitions on the toolbar. You can then either use the toolbar selector to choose a definition to display, or use the arrow buttons on the toolbar or press Left/ Right to iterate through definitions:

JetBrains Rider: Quick Definition with multiple results
Last modified: 08 March 2021