Retain distinct lines of text, eliminating any duplicates from the current selection. Additionally, implement a command for randomizing the order of the presently selected lines.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
🧹 DeDupli – Clean & Organize Your Code Effortlessly
DeDupli is a lightweight ⚡ yet powerful 💪 Visual Studio Code extension that helps you clean up your text and code in seconds. Whether you're a developer, analyst, or just tidying up content — this tool is your quick-fix buddy!
✨ Features
🧽 Remove Duplicate Lines
Eliminate redundant lines and keep only unique entries in your selection.
🔀 Shuffle Lines
Randomize the order of selected lines — perfect for creating test cases or quizzes.
🧾 Convert to Base64
Easily encode any selection into Base64 format.
📉 Remove Empty Lines
Tidy up your document by getting rid of blank lines.
⚙️ How to Use
🖱️ Select text you want to process.
🎯 Press F1 or Ctrl+Shift+P to open the Command Palette.
💼 Type DeDupli and choose one of the following commands:
🧽 Remove Duplicates
🔀 Shuffle Lines
🧾 Convert to Base64
📉 Remove Empty Lines
✅ Works on selected text only — giving you full control.
👨💻 Perfect For
💻 Developers – Clean up log files or source code.
📊 Data Analysts – Prepare data by deduplicating and reformatting.
✍️ Writers – Shuffle content, remove extra spaces, and more.