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

Column select mode spans rectangle in unexpected way #4161

Closed
weinand opened this issue Mar 14, 2016 · 1 comment
Closed

Column select mode spans rectangle in unexpected way #4161

weinand opened this issue Mar 14, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Mar 14, 2016

testing #4092

OS: Linux

I would expect that "Shift+Alt+mouse drag" spans a rectangle between the mouse down and the mouse up location. But this is not what I observe. Instead the rectangle spans from the previous caret location to the mouse up location. This is unexpected and less useful.

(in Sublime Alt-Cmd spans a rectangle between the mouse down and the mouse up location).

@weinand weinand added the bug Issue identified by VS Code Team member as probable bug label Mar 14, 2016
@alexdima alexdima added this to the March 2016 milestone Mar 14, 2016
@alexdima
Copy link
Member

This is consistent with Visual Studio.

  1. Pressing shift and alt before mousedown, uses the primary cursor selection start as the anchor.
  2. Doing mousedown and then shift and alt uses the mousedown position as the anchor.

IMHO, this allows both use-cases, while the Sublime way does not allow case 1.

@alexdima alexdima assigned weinand and unassigned alexdima Mar 21, 2016
@weinand weinand added the verified Verification succeeded label Mar 21, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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 verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants