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

Expand line selection does not select all of wrapped line #21450

Closed
OliverJAsh opened this issue Feb 26, 2017 · 8 comments
Closed

Expand line selection does not select all of wrapped line #21450

OliverJAsh opened this issue Feb 26, 2017 · 8 comments
Assignees
Labels
editor-commands Editor text manipulation commands feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@OliverJAsh
Copy link
Contributor

  • VSCode Version: latest

Steps to Reproduce:

  1. Enable line wrapping
  2. Go to a wrapped line
  3. Run the expandLineSelection command e.g. cmd+i

Expected: all lines in the wrapped line will be selected

Actual: only the current line of the wrapped line is selected

@rebornix rebornix added editor feature-request Request for new features or functionality labels Apr 6, 2017
@stewartadam
Copy link
Member

Ran into this as well. I have to resort to disabling line-wrap, selecting, then re-enabling it.

@alexdima alexdima added this to the On Deck milestone Jun 1, 2017
@alexdima alexdima added editor-commands Editor text manipulation commands and removed editor labels Nov 24, 2017
@yingw787
Copy link

Also encountered this issue. I think it might be giving me problems when I am cutting and pasting, because I would copy only the non-wrapped part, then paste that instead of the full line.

@alexdima alexdima modified the milestones: On Deck, Backlog Mar 29, 2018
@alexdima alexdima removed their assignment Mar 29, 2018
@sashkab
Copy link

sashkab commented May 28, 2019

Any known workaround for this, except making window wider?

@rebornix
Copy link
Member

We can probably expand the selection the while line when users press cmd+i the second time, which means the workflow becomes

  • cmd+i selects the wrapped line
  • Second cmd+i selects all

@sashkab
Copy link

sashkab commented Jul 19, 2019

@rebornix this might work, but if user has multiple selections and the case were one line wraps, but second doesn't -- it might not work as expected. ideally, cmd+i should select whole line, even if it wraps.

@ebr
Copy link

ebr commented Aug 18, 2019

Is there any movement on this issue? I could have sworn that in the past wrapped lines were selected with a single Ctrl-L (or Ctrl-I previously). I used to be on Mac, and now am on Linux. At some point this changed, and wrapped lines are no longer selected entirely.

@foreignmeloman
Copy link

a

Same here, using the latest insiders build. I can't believe that issue like this remains open for 2 years.

@mrob95
Copy link

mrob95 commented Sep 8, 2019

+1 for changing this behaviour or adding a setting to control it. Other line actions like copyLinesDown do not depend on zoom/wrap settings.

@alexdima alexdima self-assigned this Oct 17, 2019
@alexdima alexdima modified the milestones: Backlog, October 2019 Oct 17, 2019
@alexdima alexdima added the verification-needed Verification of issue is requested label Oct 28, 2019
@alexr00 alexr00 added the verified Verification succeeded label Oct 29, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-commands Editor text manipulation commands feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

10 participants