Convert selected text by your custom script.
- Install
selection-converter
- Open
Command Palette
, and typeConvert Selected Text
- A file named
.vscode/selection-convert.js
will be created and opened automatically. - Write your custom converting script.
- Select the text which you want to convert.
- Redo step 2, this time your custom converters shoud show up.
- Pick the one your want to run, and selected text will be replaced.