Visual Studio"s Peek Definition attribute enables you to view and also modify resource code of a referenced symbol appropriate on the spot, without opening another brand-new tab.

You are watching: You can use the peek definition window to

ReSharper exhas a tendency this function making it even even more handy:

Additionally to the Visual Studio"s native shortreduced, Alt+F12, you have the right to Ctrl+Change -click useras of a symbol to screen its declaration in the Peek Definition see. If you want to disable this, clear the Use Ctrl+Shift click to Peek Declaration checkbox on the Environment | Search & Navigation page of ReSharper alternatives (Alt+R, O).

You have the right to close the Peek Definition see by pressing Esc and switch in between the editor and also the interpretation home window by pushing Shift+Esc.

To open various kinds of associated sources in the Peek Definition check out, you have the right to set the caret at the wanted symbol and also type peek in the Go to Action popup Control+Shift+A:

*

Peek usages

As an different to finding useras and examining them in the dedicated home window (Find Usperiods Alt+F7) or to navigating to the wanted usage (Usperiods of Symbol Control+Alt+F7), you have the right to list all useras in the Peek Definition see, and also then see or even modify any type of of the useras, which you can choose in the appropriate part of the watch.

See more: What Does The Name Cathy Mean Ing Of Cathy, Name'S Meaning Of Cathy

*

To do so, by default you deserve to Ctrl -click the declaration or any type of consumption through the middle computer mouse switch. If you want to disable this, clear the Use Ctrl+Center Button Click Peek Usperiods checkbox on the Environment | Search & Navigation page of ReSharper alternatives (Alt+R, O). Or you deserve to constantly invoke this command from the major menu: ReSharper | Navigate | Peek | Peek Useras.

Peek base symbols

Additionally to listing all base signs in the dedicated window (Base Symbols Control+U), you can examine base icons in the Peek Definition watch by pushing Shift+Alt+Q or choosing ReSharper | Navigate | Peek | Peek Base Symbols from the main menu:

*

Peek implementations

Instead of viewing finish implementations of the existing symbol in the dedicated window (Base Symbols Control+Shift+Alt+B), you deserve to push Control+Alt+Q or choose ReSharper | Navigate | Peek | Peek Implementation from the primary menu to study the implementations in the Peek Definition view: