Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Selection Range and Selection Cursor Position ToggleNew to Visual Studio Code? Get it now.
Selection Range and Selection Cursor Position Toggle

Selection Range and Selection Cursor Position Toggle

Erebnyx

|
2 installs
| (0) | Free
Extension for bulk selecting line ranges and toggling cursor position in selections
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Selection Range and Selection Cursor Position Toggle

A VS Code extension that provides two features:

  1. Select Line Range (Alt+G): Opens a dropdown to input two line numbers separated by a space (e.g., "8 10"). Selects from the beginning of the start line to the end of the end line. If numbers are in reverse order (e.g., "10 8"), selects from the beginning of the lower line to the beginning of the higher line.
  2. Toggle Cursor Position in Selection (Ctrl+K Ctrl+A): Toggles the cursor between the start and end of the current selection.

Development

  • Test: npm run compile then F5 to launch a VS Code test instance.
  • Package for publishing: vsce package.

Requirements

  • VS Code version 1.85.0 or higher.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft