Summary

This chapter showed how the refactoring tools built in to the Visual Studio code editor can greatly increase productivity and decrease unwanted side effects (bugs) when you’re making sweeping changes to your code to improve maintenance, reuse, and readability. The refactoring tools don’t simply make changes using text searches and replacements; they use the Visual Studio compiler to make and validate the code changes, and this improves confidence in, and reliability of, the tools.

These tools can be accessed using the keyboard (Ctrl+.), the Quick Actions menu (via a right-click), the class designer, and elsewhere. The refactoring tools enable you to change your code in many ways. You can easily rename items in your code. You can take ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.