Like most standard IDEs, Martini supports refactoring. When you rename, move, or delete input and output properties of services, including declared properties1, the 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 ^.
- 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 OK 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 service; refactoring a service input or output property will not refactor other services using it.