Skip to content

david-mart/vscode-swap-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swap-Word VSCode extension

Quickly swap places two words or selections in VSCode editor.

Demo

Instructions

Put two anchors or select two text ranges to quickly swap them places.

Commands

Swap word to initialize snippet.

Example keybinding setup

{
    "key": "shift+alt+s",
    "command": "extension.swapWord",
    "when": "editorTextFocus"
}

It is also possible to use editorTextFocus && editorHasMultipleSelections as the condition to avoid displaying the error notification.

TODO

  1. Add default keyboard snippet.

Enjoy!

About

VSCode swap word snippet extenison

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published