Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Edit SelectionNew to Visual Studio Code? Get it now.
Edit Selection

Edit Selection

DreamPainter

|
57 installs
| (0) | Free
Edit the pattern of selections from the current selection
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Edit your selections

Select multiple things, run this command via the command pallet: Pattern Select and give a positive integer.

The command then keeps every 'a' selections, starting at the first, and de-selects the rest.

Or you can give the period an offset like: an+b or an-b and the command will keep every 'a' selections, starting with offset 'b'.

The 'n' in the input does not necessarily need to be an 'n', it can be any letter [a-zA-Z].

The offset can also be negative.

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