Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Smart TransposeNew to Visual Studio Code? Get it now.
Smart Transpose

Smart Transpose

Jed Fox

|
252 installs
| (0) | Free
Improves the built-in transpose command to work with more than individual characters
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Smart Transpose for VS Code

Are you bad at typing? Do you find yourself often getting two letters backwards? Then you may be familiar with macOS’s ⌃T shortcut, which makes it easy to swap two adjacent letters.

This extension is designed to augment that shortcut (to fix bigger mistakes!). For example, select a pair of words and press ⌃T. The two words will be swapped. Or select a pair of parameters to a function, then press ⌃T to swap them.

Setup

Make sure you unbind the shortcut for “Transpose Letters” (editor.action.transposeLetters) and then map “Smart Transpose” (transpose.smart) to ctrl+t.

Changelog

v1.0.0

Initial release 🎉

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft