Delete Duplicates removes any duplicate lines from selected text. Usage To run Delete Duplicates: With text selected, go to the Editor → Delete Duplicate Lines menu item; or Open the command palette and type Delete Duplicate Lines