Skip to content

Feature request: Extend Selection #39

@JoshKasap

Description

@JoshKasap

Example scenario

Take the following text

I want to select these at the same time

  • statustext="Unauthorized"
  • statustext="Internal Server Error"

I start by double clicking statustext for first tag then hitting ctrl + d followed by shift + right arrow twice

  • This should select statustext=" for both lines

I then hit ctrl + k followed by " (AKA shift + ')

  • this selects the inside content of both but it loses the previous selection
    • so this is selected
      • Unauthorized
      • Internal Server Error
    • but i would like a way to make it so that this is selected instead (AKA expand so previous selection is included)
      • statustext="Unauthorized
      • statustext="Internal Server Error

Then i would just have to do a shift + right arrow once more to complete the selection for both.

Possible resolutions

  • I feel like the most user friendly way to accomplish this do this would be to allow the user to extend the selection by doing ctrl + k followed by + ctrl + shift + '

  • if that's not possible maybe maybe ctrl + k for normal selections and ctrl+l for extension selections? (except ctrl + l) i think already has a shortcut binding so prob would need to use another. But idk if it's possible to have multiple separate modifier type shortcut key bindings the way ctrl + k works. If not then this also prob won't work

  • is it possible to make a 3 way binding like ctrl + k + shift + e + shift + ' so this would be like entering shift e to exten selection and then shift + ' to select between "

  • if that's not possible maybe worst case we allow random bindings for extend selections. so like ctrl + k + ctrl+u expands selection to inclode content between "

  • of course if you can think of other ways to accomplish this it would also be really nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions