From the course: Visual Studio Developer Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Keyboard access for CodeLens

Keyboard access for CodeLens - Visual Studio Tutorial

From the course: Visual Studio Developer Tips

Keyboard access for CodeLens

- [Instructor] Here's another keyboard shortcut tip. This time, it applies to the CodeLens feature. I'll start with a quick refresher of the CodeLens. The more information you can have at your fingertips while writing code, the easier it is to keep your mind focused on solving the current problems in your application. That's why Microsoft introduced the CodeLens feature in Visual Studio. It's a tiny inline info pane that gives you critical information about who's referencing the methods in a class. It can also tap into the source control system and show stats about who's committing the code, and it shows unit test results. CodeLens is available for the Visual Studio Professional and Enterprise editions. If you have either of those editions, you'll want to use CodeLens. It provides valuable information. It's enabled by default; I usually turn it off while recording courses. Here's how you enable it. Go to Tools, and then Options, then look here in the search area, type in lens, and…

Contents