Skip to content

Creating multiple cursors by using Cmd-Option-Down arrow goes to the next visual line, not the next logical line #4375

Closed

Description

  • VSCode Version: 0.10.11
  • OS Version: OS X 10.10.5

Steps to Reproduce:

  1. write a long line of text that wraps in the editor
  2. place the cursor on the first line and press Cmd-Option-Down (on OS X).

This creates a second cursor on the next visual line, which means it is somewhere on the same logical line depending on how the text is wrapped. When creating multiple cursors on adjacent lines, often it is to perform the same edit on multiple (logical) lines that are aligned with each other. The current behavior having the second cursor appear instead at some situation-specific place on the same logical line throws a wrench in this workflow. I can't think of a good situation where it makes sense (though I do realize it is consistent with pressing the down arrow without cmd-option)

Definitions: a logical line is a line in the file on disk. A visual line is a line in the editor. A logical line may span multiple visual lines when there is wrapping.

Activity

  1. added
    editor-core
    under-discussion
    on Apr 11, 2017
  2. added
    editor-multicursor
    and removed
    editor-core
    on Apr 11, 2017
  3. added
    feature-request
    and removed
    under-discussion
    on Apr 20, 2018
  4. added 2 commits that reference this issue on May 28, 2018
    3fc3f61
    7a557d1
  5. locked and limited conversation to collaborators on Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor-multicursorfeature-request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions