Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Bracket Select CustomNew to Visual Studio Code? Get it now.
Bracket Select Custom

Bracket Select Custom

ycookiey

|
1 install
| (1) | Free
Quick select code between brackets, support for (), {}, [], '' and "", with multi-character bracket support (e.g., <!--, {{, /*). (Fork of jhasse.bracket-select2)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Custom Bracket Select

[!NOTE] This is a fork of jhasse.bracket-select2, which was a fork of chunsen.bracket-select. This fork is created to continue maintenance.

[!TIP] What's new in this fork:

  • Multi-character bracket support (v2.3.0) - <!-- -->, /* */, ${ } and more
  • Customizable brackets and quotes (v2.2.0) - Configure via settings

This is a simple plugin that support to quick select text between matched brackets. This plugin supports (), {}, [],"", '', and `` by default. You can customize supported brackets and quotes in settings.

Really hope this plugin can help you!

Quick start

Just run command BraSel:Select or type alt+a to select text between brackets. If you wish to select more, just press it again.

If you slected more than you want, at anytime, just press Ctrl+U (Cursor Undo), you will bring the previous selections back.

bracket-select-animation

If you wish to select text including the brackets, just run BraSel:Select Include Brackets or type cmd+alt+a on mac and ctrl+alt+a on windows.

This plugin also works for multiple cursors: bracket-select-animation

Requirements

None

Extension Settings

This extension contributes the following settings:

  • bracket-select.brackets: Array of bracket pairs to support.
  • bracket-select.quotes: Array of quote characters to support.

Example configuration:

"bracket-select.brackets": [
    ["(", ")"],
    ["{", "}"],
    ["[", "]"],
    ["<", ">"],
    ["<!--", "-->"],
    ["/*", "*/"],
    ["${", "}"]
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft