O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Invoking the Refactoring Tools

The refactoring tools are available directly inside the code editor. You can invoke them in several ways. First, if your cursor is positioned near code that Visual Studio thinks could or should be refactored, you will see a light bulb in the left margin of the code editor (called the Quick Actions menu). You can click on this to see your options unfold in a context-sensitive, refactoring menu. Second, you can always access Quick Actions from the editor using the shortcut “control dot” (Ctrl+.). A right-click inside your code will also take you to Quick Actions from the context menu. Finally, the Visual Studio class designer supports edits that work as refactoring.

Note

Visual Studio has done away with the Refactoring ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required