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.
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.
Use from leftside panel
How to use?
This extension works with selected text only. First you need to select all text. Second press F1 and in menu type "Dedupli". Third you can choose one of commands you need.
Do you like chat GPT?
Try a new extension "Doctor GPT" to robust your work in VS code.