Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Fausto95/vscode-swap
VS Code extension for text swapping
https://github.com/Fausto95/vscode-swap
swap swap-text vscode vscode-extension
Last synced: 2 months ago
JSON representation
VS Code extension for text swapping
- Host: GitHub
- URL: https://github.com/Fausto95/vscode-swap
- Owner: Fausto95
- Created: 2019-11-09T13:15:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T19:44:13.000Z (about 1 year ago)
- Last Synced: 2024-11-07T20:55:51.728Z (2 months ago)
- Topics: swap, swap-text, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=fausto95.swap
- Size: 3.47 MB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-made-by-angolans - vscode-swap
README
## VS CODE SWAP 🔁
Swap 🔁 is a VS Code extension that makes swapping texts easy 😎
### Swap
### Replace Text at Line
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.### Instructions
#### Swapping
* Select two or more texts
* Open `command palette` and type `Swap`
* Press enter and voilà ✅#### Replacing
* Select two or more texts
* Open `command palette` and type `Replace text at line`
* You will be asked the line number you want to replace selected text with.
* Press enter and voilà ✅## Keyboard shortcuts
- Swapping:
* Windows: `CTRL+ALT+8`
* Mac: `CMD+OPTION+8`
- Replacing:
* Windows: `CTRL+ALT+9`
* Mac: `CMD+OPTION+9`### Changelog
Current version: `v0.1.0`