Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Alt+LMB (Left Mouse Button) double click for subword selection #18405

Open
AlexWayfer opened this issue Nov 8, 2018 · 7 comments
Open

Alt+LMB (Left Mouse Button) double click for subword selection #18405

AlexWayfer opened this issue Nov 8, 2018 · 7 comments

Comments

@AlexWayfer
Copy link

Summary

Alt+LMB (Left Mouse Button) double click for subword selection.

Motivation

You can select words via ctrl-left and ctrl-right, also subwords via alt-. And you can select words via mouse by double click, but you can't select subwords via mouse.

Describe alternatives you've considered

I saw #2306, but it's about single click, as I understood.

Anyway, it can be configurable (I don't need for suggested selection there).

For now I don't see something (lmb, mouse, click) with mouse in Keybindings Settings.

Additional context

It's very handy for snake_cased syntax, like Ruby, without _ in Non Word Characters. I think for camelCased it's also handy.

@omkarpote
Copy link

This could be very intuitive and useful. Selection could be done step-by-step with each progressing click so that it also works across some operators. Like parent.camelCase.child could select camel, then camelCase, then parent.camelCase.child and finally the complete line of code. This could work only if there is no space between the operator and the words.

Makes sense, right?

@stale
Copy link

stale bot commented Nov 16, 2019

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of Atom
  2. Comment that the issue is still reproducible and include:
    • What version of Atom you reproduced the issue on
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

Issues that are labeled as triaged will not be automatically marked as stale.

@stale stale bot added the stale label Nov 16, 2019
@AlexWayfer
Copy link
Author

Verify that you can still reproduce the issue in the latest version of Atom

Yes.

What version of Atom you reproduced the issue on

1.41.0

What OS and version you reproduced the issue on

Latest Arch Linux.

What steps you followed to reproduce the issue

Described in the issue description.

@stale stale bot removed the stale label Nov 22, 2019
@ghost
Copy link

ghost commented Mar 9, 2020

Bump! Is bumping allowed? I would also like to do this, it works this way in all my other programs, it's messing with my flow not having the double click select a subword

@klaurence
Copy link

I also would like to bump this.

@stale
Copy link

stale bot commented Jun 26, 2021

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of Atom
  2. Comment that the issue is still reproducible and include:
    • What version of Atom you reproduced the issue on
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

Issues that are labeled as triaged will not be automatically marked as stale.

@stale stale bot added the stale label Jun 26, 2021
@AlexWayfer
Copy link
Author

  • Verify that you can still reproduce the issue in the latest version of Atom

Yes.

  • What version of Atom you reproduced the issue on
Atom    : 1.57.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

What OS and version you reproduced the issue on

Arch Linux.

What steps you followed to reproduce the issue

Described in the subject.

@stale stale bot removed the stale label Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants