From the course: Visual Studio 2019 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use Peek Definition to see inline definitions - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Use Peek Definition to see inline definitions
- Peek Definition is another way to go to a code definition. It works like this. I'm inside this program.cs file, I want to look up the definition for this book data source. I showed you earlier in this chapter, you can right-click and choose go to definition. And that opens the file in this separate tab. With Peek Definition I don't have to open that separate tab. Right-click here, choose to Peek Definition. And instead I get this inline window that allows me to view or edit the code in another file without opening the tab. Or I think of it another way. The tab is here inline in your document. Now I can see the entire document here, I can scroll up and down within this window. When I'm done looking, I can click the X button to close the peek window. Let's do it again. This time we'll do it on this method. It works like you'd expect. Let's say that I want to edit the code. One way I can do that is click on this button here to promote to a document. Now it becomes a full-fledged tab, I…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Use the enhanced editor scrollbar2m 49s
-
(Locked)
Use the Class View to explore classes2m 30s
-
(Locked)
View class relationships with Class Diagram6m 5s
-
(Locked)
Look up type information5m 11s
-
(Locked)
Use Peek Definition to see inline definitions1m 50s
-
(Locked)
Find all references2m 32s
-
(Locked)
See critical reference info inline with CodeLens2m 23s
-
(Locked)
Find content and files with the Go To tool3m 58s
-
(Locked)
-
-