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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access