Refactoring Gloop Services
Like most standard IDEs, Coder supports refactoring. When you rename or delete input and output properties of Gloop Services, including declared properties1, the Gloop Service Editor ensures these properties are renamed or deleted2 in other areas where they are used. Operations like these, however, are somewhat expensive as references will have to be checked and updated.
To rename or delete a property:
- Select the property you want to rename or delete in the Input Output view (if the property is an input or output property) or Mapper view (if the property is a declared property).
- Right click on the property, select Refactor, and then click Rename or Delete. You can also press to rename or to delete.
- A dialog will appear, listing all changes that will be made by the refactoring process. If there are undesirable changes, un-check them so that they are not applied.
- Click the OK button or press to confirm your action.
Once the changes have been applied, all steps referencing the property are modified. The refactoring process handles Map Lines, Set Expressions, Iterate Steps, While Step input and output arrays, and declared and unloaded properties.
Refactoring is only local to the Gloop Service; refactoring a Gloop Service input or output property will not refactor other services using it.