Refactorings preview hinting
Almost all refactorings have a preview hint which allows you to see the resulting code before a particular refactoring is performed. This is very useful, because it is a great help to understand what will happen in the code once an action is taken. Moving among available refactorings in the Refactor! popup menu or a SmartTag popup menu will be reflected in the preview for each one. Here are previews of some possible refactorings you can perform using the Refactor! popup menu:
While the Refactor! popup menu is up, you are able to control preview hinting by holding the following keys:
- CTRL – will hide the menu and the big yellow hint with a description of a refactoring.
- SHIFT – will hide the resulting code preview window with a blue arrow pointing to the target code location
NOTE: these two keys aren’t available if you’re using a different way of listing available refactorings, e.g. SmartTag popup menu.—– Products: Refactor Pro and Refactor free editions Versions: 10.2 and up VS IDEs: any Updated: Mar/23/2011 ID: R016