Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Select ParagraphNew to Visual Studio Code? Get it now.
Select Paragraph

Select Paragraph

nachocab

|
2,088 installs
| (1) | Free
Select contiguous lines until you reach an empty line
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Select Paragraph

Expand the current selection until it hits a whitespace boundary (port of expand_selection_to_paragraph from Sublime Text). If you have this text:

line 1

line 2
line 3| <= cursor here
line 4

line 5

After running Select Paragraph, the selection will hold lines 2 through 4.

Extension Settings

This extension contributes the command select-paragraph.selectParagraph and the keybinding ctrl + p.

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