Swap Selection with ClipboardSwap the Clipboard string(previously copied string) with a Selected strings/a Pointed words in code or Swap two selected strings/poited words, with multiselection in code. FeaturesHow it work descriptions (text):With One Selection in code and Clipboard:
With Double Multiselection in code:
How it work examples (on GIF-s):Swap pointed word with clipboard string - Click on one word and Alt+S to swap: Swap selected string with pointed word - Select string, Alt+Click on some word and Alt+S to swap: Swap pointed words - Click on first word, Alt+Click on second word and Alt+S to swap: Reason for creation. In what helpsI wanted to read the VS Code extension API when creating a simple extension. When I want to swap two strings in one file - Swap Selected strings/Pointed words is helpful. (Why not other ready extensions?) Without this extension:
With this extension:
When I want to swap thongs in two different files - Swap Clipboard string with Selected string/Pointed word is helpful. Without this extension:
With this extension (less spectacular difference):
Known IssuesInsignificant Bug:
Release Notes1.2.6Update dependencies. 1.2.3Activate an extension at the startup. 1.1.0Create extension. Similar extensionsI will list similar extensions here, and why they are not enough for me.
In addition, I wanted to use one keyboard shortcut for all these operations |