A simple yet powerful VS Code extension that cleans up your code by removing consecutive duplicate lines. Ideally used for cleaning up logs, lists, or messy formatting where multiple empty lines or repeated text occur.
Features
Consecutive Deduplication: Only removes a line if it is identical to the one immediately before it.
Smart Formatting: Collapses multiple empty lines into a single empty line (preserves structure).
Selection Mode: Works on selected text.
Document Mode: Works on the entire file if no text is selected.
Reporting: Shows the count of removed lines in the status bar.
Usage
Select the text you want to clean (or place cursor anywhere to process the whole file).
Right Click and choose "Remove Duplicate Lines".
Alternatively: Open Command Palette (Ctrl+Shift+P) and type Remove Duplicate Lines.