Skip to content

Multi-click selection granularity #6511

Open

Description

Description of the new feature/enhancement

The current multi-click selection expansion only has two steps.

  • double-click: selects a "word" between 2 delimiters (don't have to be the same, e.g. , and so when clicking on a filename, you don't get the extension)

  • triple-click: selects the entire line

I find myself rarely needing the entire line, but often need a path or a filename usually separated by spaces.

I would propose the following as better UX without going too granular.

  • double-click: selects a "word" between 2 same delimiters
  • triple-click: selects an entire string separated by spaces
  • 4-click: entire line

Activity

  1. added
    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.
    on Jun 15, 2020
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Jun 15, 2020
  3. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jun 15, 2020
  4. DHowett commented on Jun 26, 2020

    @DHowett
    Member

    You know, I don't hate this as much as I thought I would. Perhaps we do need some different mechanics.

    I'm inclined to call this extensible and link it up to #4000.

  5. added
    Area-ExtensibilityA feature that would ideally be fulfilled by us having an extension model.
    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)
    Area-UserInterfaceIssues pertaining to the user interface of the Console or Terminal
    and removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jun 26, 2020
  6. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Jun 26, 2020
  7. andrzejnovak commented on Jun 28, 2020

    @andrzejnovak
    Author

    Yup, would be fine as a config/extension.

  8. benmwatson commented on Jul 28, 2020

    @benmwatson
    Member

    I would love to have the triple-click behave as you say. I was about to file an issue for this as well. One interesting quirk with the full-line selection and copying. If I copy and paste a full line, all spaces after the last text are being discarded. But spaces before the text are being preserved. It's as if they're calling TrimRight(), but not TrimLeft().

    I could almost be happy if they could just trim those left spaces, but I'd love to see more deliberate behavior as you describe above.

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

    Area-ExtensibilityA feature that would ideally be fulfilled by us having an extension model.Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions