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.

Quick actions

Quick actions - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

Quick actions

- [Instructor] You can't move your mouse inside Visual Studio without seeing a lot of hover tips and pop-up windows. Our focus in this video is on the light bulb tool. I can make it appear in this code file by moving my cursor to line 3. You see the light bulb over there by the line number? Now I'll move up to line number 2, and you see it up here in the same position. I can also make it appear by hovering over parts of my code like this. Now it appears close to my cursor, and I also get a hover tip that tells me what's wrong with this line of code. It's telling me that this using directive is unnecessary. Let's go back and look at it over on the margin. The official name for the light bulb is called the Quick Actions. The idea is that Visual Studio scans your application code, and when it finds a potential refactor, it highlights it with a Quick Action. If you agree that the refactor is a good idea, you apply the Quick Action, and quickly refactor your application code. So the…

Contents