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

Making (and Previewing) Changes

As you become comfortable with the refactoring tools, you might decide to simply let them do their thing without much oversight on your part. However, if you are like most developers, no one (or no tool) touches your code without your consent. Fortunately for us, the refactoring tools provide a preview option. This option lets you follow the tool through its changes and, in turn, accept or reject a given change. It also supports Undo should you want to revert your changes.

The Preview Changes dialog box is invoked as an option (check box) on a given Refactoring operation. Figure 9.3 shows an example of invoking the Rename operation from the context menu (right-click). In this case, we are renaming the InvoiceLineItems ...

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