microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.16k stars 28.83k forks source link

Double click after curly brace to select the content #9123

Open pom421 opened 8 years ago

pom421 commented 8 years ago

This is a feature-request.

A common use case for me in Eclipse, is to double click on the right after a brace or a curly brace, to select all the content inside it. It's a fast way to select, indent, remove the content. It's a lot more handy to see the ending curly brace (especially for JS and other functionnally langugage).

www gifcreator me_zovlan

rmunn commented 8 years ago

I was just looking for a command to select the brace (and contents) that matches the one the cursor is next to. It's highlighted already; I'd just like a single keyboard shortcut to select to that highlighted brace so I can copy (or cut) it, and then paste it elsewhere. That seems strongly related to this feature request, so rather than opening a second feature request for the "select to matching brace" command, I'm asking for it here. I can open a separate issue for this request if you'd prefer to track it separately, though.

yzhang-gh commented 6 years ago

Besides {, we can select the whole content of a string by double clicking right after the starting " in Eclipse (or right before the ending ")

mbaquerizo commented 6 years ago

To add to the above, any grouping symbols ( ), { }, [ ] or quotes ' ', " " can be selected this way in Eclipse. This feature would be great

zshwei commented 6 years ago

I really need this feature! Thank you.

altimac commented 3 years ago

I would like this feature to be implemented too. Coming from Xcode...

altimac commented 3 years ago

To anyone wanting this, please upvote this issue ASAP using Thumb Up reaction: https://github.com/microsoft/vscode/issues/111678 it's now in VSCode backlog! MAKE IT REAL :)

mrx23dot commented 2 years ago

Same goes for: [ { " ' ( """ /* everything that has a pair, in any language. hmm 5years since the FR was created.

mrx23dot commented 1 year ago

No one wants this? This is a real time saver, productivity booster.

marc-guenther commented 1 year ago

Unfortunately #111678 was recently closed as a duplicate by @hediet, after it received enough community upvotes to make it into the backlog. And for whatever reason, without putting this one into the backlog.

This leaves us with this very very old issue that no one ever looks at. Does it make sense to open yet another new issue, pointing to these existing duplicates, and describing the problem? Why is there a voting process, if it is then subsequently ignored without any comment?

Come on folks, vote for this one, if you voted for the other one. We are only missing 6 votes.

pryder-fleetaero commented 8 months ago

Another +1 from an Xcode user really missing this feature

huckncatch commented 1 day ago

Bump, another +1 for this feature request. With an option to include/exclude the brackets/delimiters.