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

Add more mouse gestures for multi-cursor #84

Closed
jijojv opened this issue Nov 18, 2015 · 25 comments
Closed

Add more mouse gestures for multi-cursor #84

jijojv opened this issue Nov 18, 2015 · 25 comments
Assignees
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities verified Verification succeeded
Milestone

Comments

@jijojv
Copy link

jijojv commented Nov 18, 2015

Please Implement Column Mode selection/editing.

Previously requested here
https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7761618-implement-column-mode-selection-editing

On Mac preferred shortcut is cmd+option(alt) like Sublime Text does.

@nippur72
Copy link

+1

@buzinas
Copy link

buzinas commented Nov 18, 2015

👍 +1!

@nippur72
Copy link

perhaps this requires also support for virtual space

@Tyriar
Copy link
Member

Tyriar commented Nov 18, 2015

The repo readme says file feature requests to vscode/issues

@sharwell
Copy link
Member

@ZombieProtectionAgency Has a policy for this been established yet? More often than not, GitHub issues are suitable for everything from bugs to usability problems to feature requests. The benefit of supporting this is users who have never submitted feedback before don't need to understand everything about the project organization in order to provide meaningful commentary. 😄

@ZombieProtectionAgency
Copy link

Fair enough, sorry. I was just letting them know there is already a place for feature requests.

@glen-84 glen-84 mentioned this issue Nov 21, 2015
@jrieken jrieken added help wanted Issues identified as good community contribution opportunities feature-request Request for new features or functionality labels Nov 24, 2015
@ygorlazaro
Copy link

+1

@beattyml1
Copy link

+1 here in addition to user voice I don't know which is checked more

@egamma
Copy link
Member

egamma commented Dec 14, 2015

Isn't this mostly addressed by multi cursor support and the actions 'insert cursor above/below' (which will be changed for the Dec milestone to 'add cursor above/below).

@alexandrudima fyi

@digitalGaz
Copy link

+1

@alexdima
Copy link
Member

@jijojv Can you please help me out with some sort of spec regarding what exactly you want...

We already have:

  • add cursor below Ctrl+Alt+Down
  • add cursor above Ctrl+Alt+Up
  • add selection to next selection match Ctrl+D
  • move selection to next selection match Ctrl+K, Ctrl+D
  • add selections to all selection matches Ctrl+Shift+L
  • undo last cursor action Ctrl+U
  • Alt + Click adds a new cursor

I understand there might be more to it, I think something with Ctrl+Alt + Click which would add selections in a block-like manner, is that what you mean?

@beattyml1
Copy link

It very well maybe addressed by existing features but having it match expecting functionality of almost all other editors and IDEs would probably really help new users and thereby adoption.

@alexdima
Copy link
Member

@jijojv So this is about adding more mouse gestures since we have this:

image

@alexdima alexdima changed the title Implement Column Mode selection/editing Add more mouse gestures for multi-cursor Dec 15, 2015
@jijojv
Copy link
Author

jijojv commented Dec 15, 2015

@alexandrudima it's not quite the same as it requires 2 separate actions which is error prone e.g if you don't let go but yes in a pinch this 2 steps do get you column mode selection and edits.

⌥⌘↓ then MUST let go , then press ⇧→ to get columns

@glen-84
Copy link

glen-84 commented Jan 18, 2016

The new title made this difficult to find.

With Programmer's Notepad, Atom (with Sublime Style Column Selection), Visual Studio 2015, and obviously Sublime, you can use Alt+Select.

It would make sense to support the same in VS Code.

@Uristocles
Copy link

Alt+Select would be fab!
(CTRL-F2 does the trick for what I was just trying to do in any case: kill a bunch of empty columns)

@digitalGaz
Copy link

That would be great

On 20 Jan 2016, at 16:24, Uristocles notifications@github.com wrote:

Alt+Select would be fab!


Reply to this email directly or view it on GitHub.

@ZombieProtectionAgency
Copy link

This might be a bit much (or might not even fit this suggestion) but one feature I like in editors is being able to click then Alt-Shift-click to select an arbitrary block.

@masaeedu
Copy link

masaeedu commented Feb 9, 2016

@alexandrudima What is required is the ability to press down Alt + Shift (or some other key combination, I'm not sure what the consensus is), drag select between an initial and final position in the code, and end up with a selection of all characters within the bounding box of these two positions. Obviously this is complicated by things like line wrap, but this is the general idea.

@aloisdg
Copy link

aloisdg commented Feb 15, 2016

add cursor below Ctrl+Alt+Down
add cursor above Ctrl+Alt+Up

It is Ctrl+Shift+Down (or Up) on my Linux (Arch Linux / i3 if it matters)

@Tyriar
Copy link
Member

Tyriar commented Feb 16, 2016

@aloisdg context on why the Linux hotkey is different is that it conflicts with switching workspaces on many Debian-based distros.

@aloisdg
Copy link

aloisdg commented Feb 16, 2016

@Tyriar I think debian-based distro should move the defaut key for window related stuff to the Windows-key (as an OS key), but this argument is for another issue. Thank you for the answer.

@ucirello
Copy link

+1

@alexdima alexdima self-assigned this Mar 10, 2016
@alexdima alexdima modified the milestones: March 2016, Backlog Mar 10, 2016
@alexdima
Copy link
Member

Comes in March

@alexdima alexdima added the verified Verification succeeded label Mar 21, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
connor4312 added a commit that referenced this issue Sep 19, 2022
Uses their new recommended aka.ms links.

Fixes #46
Fixes #84
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities verified Verification succeeded
Projects
None yet
Development

No branches or pull requests