Refactoring Gloop Services
Like most standard IDEs, Coder supports refactoring. When you rename, move, or delete input and output properties of Gloop services, including declared properties1, the Gloop service editor ensures these properties are renamed, moved, 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, move, 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, Move, or Delete. You can also press to rename, to move, and to delete. You can also move refactor by dragging and dropping properties while pressing ⌃ in macOS or Alt in Windows or Linux.
- 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 will not be 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.