This VSCode extension allows you to transform your selections via an evaluated javascript expression.
-
Make selection
-
CTRL/CMD
+P
-
Choose
Transform Selection
-
Enter expression, Press
enter
You can access the current selection in the variable
value
and is a string.
value
.split(" ")
.map((x) => `"{x}"`)
.join(", ");
-
-
Initial release