The Swap Code extension enables an intuitive keyboard shortcut to swap a text selection with clipboard text, providing a fast and easy way to rearrange code in your file.
Instructions
Select text and copy to clipboard
Select different text and swap in clipboard text using the Command Palette or keyboard shortcut