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 Selection by Middle Mouse Button (Sublime Style) #28186

Closed
domske opened this issue Jun 7, 2017 · 7 comments
Closed

Column Selection by Middle Mouse Button (Sublime Style) #28186

domske opened this issue Jun 7, 2017 · 7 comments
Assignees
Labels
editor-columnselect Editor column selection issues feature-request Request for new features or functionality on-testplan
Milestone

Comments

@domske
Copy link

domske commented Jun 7, 2017

  • VSCode Version: 1.12.2
  • OS Version: Windows 10 Pro 64-bit

Currently column select is available by pressing Alt + Shift + Mouse Left to drag colum selection from current cursor position. Or by Alt + Ctrl + Shift + Arrows without the mouse.

Nice feature, but horrible to use.
I think it would be better if the behaviour is the same like in sublime text or atom package:
https://atom.io/packages/Sublime-Style-Column-Selection

Just press the middle mouse button (mouse wheel) to select from every position.
The middle click also sets the start position (cursor) dynamically.
Optional set other keys for example Alt + Mouse Left.

Look this clip: (Only controlled by the mouse middle button with the package (link above) in Atom.)
columnselect

@insin
Copy link

insin commented Jun 9, 2017

Easy mouse selection of multiple cursors and Sublime's behaviour when you select off the right hand edge with Middle Click drag or Shift+Right Click drag are some of my most-missed features (works the same dragging upwards if the mouse is off to the right):

2017-06-09_09-41-23

Currently in VS Code (1.13.0) you have to place an initial cursor, then hold the hotkeys and drag, but it acts like a box anchored at the start point regardless of where the mouse is.

2017-06-09_09-44-29

@jnm2
Copy link

jnm2 commented Jun 9, 2017

Yes! I've been wanting the same thing for months. I want to be able to Alt + left mouse drag a rectangle without being affected by the cursor position prior to starting the drag, just like in editors like Visual Studio or Notepad++ or even Word and Outlook.

@jnm2
Copy link

jnm2 commented Jun 9, 2017

Duplicate of #5402?

@domske
Copy link
Author

domske commented Jun 9, 2017

Yes it's seems like a duplicate. I've overlooked. But now this feature request has more prominence. :)

In my opinion it's important to have options for the column selection like "select only by middle mouse button" or "select with alt + left mouse button". etc.
I think it's a very important feature for a nice workflow.

@alexdima alexdima added editor-multicursor Editor multiple cursor issues feature-request Request for new features or functionality labels Jun 12, 2017
@alexdima alexdima added this to the Backlog milestone Jun 12, 2017
@alexdima alexdima added editor-columnselect Editor column selection issues and removed editor-multicursor Editor multiple cursor issues labels Sep 28, 2017
@mrksdiehl
Copy link

Is there a chance that this is going to be added? I come from sublime and love the middle mouse over there. I really use it all the time. Would love to see it available in vscode.

@alexdima alexdima modified the milestones: Backlog, On Deck Feb 5, 2018
@rjmunro
Copy link

rjmunro commented Mar 5, 2018

This is a duplicate of #5402. Please ensure you give that one a thumbs up.

@akinnee
Copy link

akinnee commented May 21, 2018

Thank you so much for implementing this! ❤️

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-columnselect Editor column selection issues feature-request Request for new features or functionality on-testplan
Projects
None yet
Development

No branches or pull requests

7 participants