From the course: Visual Studio Code Productivity Tips
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Explore and navigate code: Find All References
From the course: Visual Studio Code Productivity Tips
Explore and navigate code: Find All References
- [Instructor] In this tip, we're looking at finding all references to a function. To be clear, this feature can find references to all kinds of code constructs, but for this tip, we'll find references to this min function. It's in this context menu, right-click and choose Find All References. I said in another video that we look at Go to References, but I meant Find All References. What does it do? The Find All References command helps you discover where specific code elements are referenced throughout your codebase. This feature is useful for exploring code, understanding dependencies, and refactoring. So let's run it. You'll see the relevant text highlighted in orange within the code editor, or whatever color is configured in your Visual Studio Code theme. You can see it on line 1 and on line 8. In addition to those highlights in the code window, a References sidebar appears on the left side, providing a summary of where the references are located. It tells me at the top that there…
Contents
-
-
-
Explore and navigate code: Go to Definition3m 24s
-
(Locked)
Explore and navigate code: Find All References2m 21s
-
(Locked)
Explore and navigate code: Peek Definition1m 26s
-
(Locked)
Refactor the code5m
-
(Locked)
Tidy up code layout with Format Document4m 18s
-
(Locked)
Create custom keybindings for commands2m 18s
-
(Locked)
Fun with brackets and braces2m 49s
-
(Locked)
Simple technique to move code blocks52s
-
(Locked)
Use Emmet notation to quickly add boilerplate text8m 19s
-
(Locked)
Use font ligatures to add symbols to your code3m 31s
-
(Locked)
Better document tabs5m 10s
-
(Locked)
Declutter the UI2m 16s
-
(Locked)
Work with files3m 12s
-
(Locked)
Expand selection with keyboard shortcuts2m 14s
-
-