Visual Studio Tips and Tricks

Productivity Driven Development

Use Peek Definition

| Comments

While reading or debugging code, using Go To Definition (F12) opens up another file, but sometimes you want to take a quick look at some code in another class. Using Peek Code (Alt + F12) opens up a small panel below your cursor allowing you to see/edit the code without losing current context. You can even use Peek Definition recursively, and navigate back and forth between different fragments using breadcrumbs.

Want to learn more about Visual Studio? Check out this Pluralsight Course.
Use SqlSmash to write maintainable SQL scripts, understand code faster and navigate around easily in SSMS.

Comments