Visual COBOL enables you to rename all or selected occurrences in the workspace of variable, section and paragraph names (in native COBOL), of identifiers (in JVM COBOL), or of COBOL types that are referenced in Java code and vice versa.
Eclipse supports renaming directly in the editor which renames all occurrences of the identifier, or renaming with a Rename dialog box which enables you to preview and approve the changes before they are applied.
To specify whether you want to rename with or without the Rename dialog box, click and either check or uncheck Rename in editor without dialog (enabled by default).
To rename an identifier:
Alternatively, click Refactor > Rename from the main menu or right-click the identifier in the Outline or the Program Outline views and click Refactor > Rename.
If the IDE is configured for quick rename:
Optionally, use the commands from the drop-down menu of the rename tooltip to invoke the Rename dialog and preview the suggested changes before they are applied.
If the IDE is configured to rename with the Rename dialog box:
Ensure the changes are applied as required and click OK.
To revert your changes, click Edit > Undo Rename COBOL Element.
The following restrictions apply to rename refactoring:
The following restrictions apply to native COBOL only: