Swap 🔁 is a VS Code extension that makes swapping texts easy 😎
Replace Text at Line format: line-number:colStart-colEnd.
- If only colStart is provided, it replaces at colStart to the end of the line.
- If both colStart and colEnd are provided, it replaces the text in that range.
- If neither columnStart nor columnEnd are provided, it defaults to replacing the entire line.
- Select two or more texts
- Open
command palette
and typeSwap
- Press enter and voilà ✅
- Select two or more texts
- Open
command palette
and typeReplace text at line
- You will be asked the line number you want to replace selected text with.
- Press enter and voilà ✅
- Swapping:
- Windows:
CTRL+ALT+8
- Mac:
CMD+OPTION+8
- Windows:
- Replacing:
- Windows:
CTRL+ALT+9
- Mac:
CMD+OPTION+9
- Windows:
Current version: v0.1.0