Understanding the Peek Definition window in Visual Studio 2013 (Alt+F12)
Posted: (EET/GMT+2)
Visual Studio 2013 contains a great new feature called Peek Definition. In my opinion, this is one of the best little new ("non-major") features in Visual Studio 2013, so I wanted to share.
Shortly put, Peek Definition allows you to quickly view the definition of a method without opening that file in a new code editor tab. This allows you to quickly view the method's definition (often important), but also allows you to edit the method's code just like you normally would.
The Peek Definition will be visible a regular-like looking code editor tab, except that it hovers above the file you were currently editing. Very nice.
That said, make sure you learn the new shortcut key combination Alt+F12. It's highly useful. You can also right-click a method name in the code editor, and then choose the Peek Definition command from the popup menu.
There's a nice reference post on this feature on MSDN documentation.