Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand Select: Prioritize content inside brackets. #40658

Closed
kleinfreund opened this issue Dec 21, 2017 · 0 comments · Fixed by #58989
Closed

Expand Select: Prioritize content inside brackets. #40658

kleinfreund opened this issue Dec 21, 2017 · 0 comments · Fixed by #58989
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-bracket-matching Editor brace matching smart-select verified Verification succeeded

Comments

@kleinfreund
Copy link

kleinfreund commented Dec 21, 2017

  • VSCode Version: Code 1.19.0 (816be67, 2017-12-14T09:56:48.842Z)

Steps to Reproduce:

  1. Insert the following lines in a VS Code editor window.
( )
[ ]
{ }
  1. Place the caret in column 2 of any line. The result is the same for alle three.
  2. Activate Expand Select.

Expected Behavior:

Columns 2–3 are selected.

Actual Behavior:

Columns 1–2 are selected

Reproduces without extensions: Yes


In my opinion, the content inside brackets should always be prioritized when expanding the selection while the caret is inside the brackets.

@vscodebot vscodebot bot added editor editor-bracket-matching Editor brace matching labels Dec 21, 2017
@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Sep 5, 2018
@sbatten sbatten added this to the September 2018 milestone Sep 19, 2018
rebornix pushed a commit that referenced this issue Sep 21, 2018
@jrieken jrieken added verified Verification succeeded smart-select labels Sep 26, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-bracket-matching Editor brace matching smart-select verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants