Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Transpose Words BienNew to Visual Studio Code? Get it now.
Transpose Words Bien

Transpose Words Bien

David Bien

|
11 installs
| (0) | Free
Transpose words around a space or punctuation character ala old-school Visual Studio Not-Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

transposewordsbien README

A simple extension to transpose words in a line of text.

The key sequence deaults to Shift+Ctrl+T.

Features

The intent is to more or less simulate the "Edit.WordTranspose" functionality of Visual Studio Not-Code (i.e. 2019, 2022, etc.) It operates a bit differently than Edit.WordTranspose:

  • The selection plus any surrounding whitespace and punctuation are accumulated. The words on either side of this middle space are juxtaposed with one another.
  • If the cursor is at the beginning or end of a line then nothing happens - it is a no-op.
  • On the other hand VS2022 will juxtapose the two words following the cursor and preserve the whitespace and punctuation is between the following two words and will wrap the line if necessary.

Extension Settings

No settings currently.

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