Replacer Progress Indicator
- 2 min to read
The Replacer's progress indicator appears when multiple code blocks need to be replaced with a new block and your confirmation is needed for each entry. For instance, if you use the Introduce Constant refactoring to create a new constant from a reference value you will be asked for confirmation before each occurrence of the specified value is replaced with the introduced constant. (Note that this is the default behavior, but you can change it using the refractor's options.)
The progress indicator shows the string that will replace the selected one, indicates how many entries still need to be processed and allows you to do the following:
- Navigate to the next / previous entry.
- Accept or reject the action for the current entry.
- Apply the action for all the entries that haven't already been processed.
- Suspend replacement operations.
If you choose to suspend replacement, a window allowing you to resume the operation is displayed in the top-right corner of your IDE window. You can continue working and resume the operation later or close this window by clicking its close button.
Where to See and Customize Associated Shortcuts
The Text Replacer folder in the IDE | Shortcuts page of the Options dialog.