Delete a duplicate routine implementation

When you create a routine, it contains the forward declaration and the implementation. If the implementation is copied and creates a duplicate implementation, you receive the error
RoutineName Routine implementation already exists. To avoid unexpected results, create a unique routine name. Error code: DS0177.
You must delete the duplicate implementation file to resolve this error.
To delete a duplicate routine implementation
  1. Open the Code Editor from the routine element by right clicking the element and selecting
    Code Editor
    .
  2. In the Code Editor, navigate to the line number and Character column of the error message, then select the routine implementation that you want to delete.
  3. Select action icon to the left of the component to open the Code Actions menu.
  4. Select
    Delete duplicate implementation
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal