Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Swap Selection
Swap Selection

Swap Selection

SSDiver

|
2,283 installs
| (5) | Free
Using Multi-Selection to select two pieces of text and then swap them.
Download

Quickly swap two groups of selected text by taking advantage of the Multi-Selection capability in Visual Studio 2022.

See the change log for changes and road map.

Features

  • Use Multi-Selection to select two pieces of text and then swap them.

Swap Selected Text

SwapSelection.gif

Select some text, Select some secondary text (Ctrl+Alt + double-click to add a secondary word or Ctrl+Alt + click + drag to select a secondary selection of text.) Right-Click and select 'Swap Selection' or Shortcut Key Alt-S.

SwapSelectionMenu.png

Options

Use the Tools/Options page to change the Color and type of thE Swap adornment.

SwapSelectionOptions.png

Type 1 SwapSelectionType1.png

Type 2 SwapSelectionType2.png

Type 3 SwapSelectionType3.png

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

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