Vscode: Column Selection by Middle Mouse Button (Sublime Style)

Created on 7 Jun 2017  路  7Comments  路  Source: microsoft/vscode

  • 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

editor-columnselect feature-request on-testplan

Most helpful comment

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.

All 7 comments

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

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.

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.

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.

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

Thank you so much for implementing this! 鉂わ笍

Was this page helpful?
0 / 5 - 0 ratings