Peek definition

You probably know F12 in Visual Studio, which transfers you to the point of a definition. But did you know that pressing Alt-F12 will invoke a function called peek definition, which only opens a small popup to inspect the code, but will not actually go there. Much faster to check out what a constant or enum value really is, or a zillion other cases where I usually just went back to the place where I transferred to the definition from.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *