Skip to content

Fausto95/vscode-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ea1f3f3 ยท Nov 28, 2023

History

35 Commits
Nov 28, 2023
Nov 9, 2019
Nov 28, 2023
Nov 28, 2023
Nov 9, 2019
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023
Nov 28, 2023

Repository files navigation

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