vscode-better-folding icon indicating copy to clipboard operation
vscode-better-folding copied to clipboard

"End" key can't be used on line of folded code

Open eFail opened this issue 2 years ago • 2 comments

Repro

  1. Fold a method.
  2. Move the keyboard caret to that line.
  3. Press the "End" key, with the intention of moving the caret to the end of the line so that you can then hit "Enter" and start writing a new function below it.

Expected result:

  • Caret moves to end of line like it does on a non-folder line, or like it does on a folded line in Visual Studio: image

Actual result:

  • Caret jumps to start of line for some reason. image

eFail avatar Jan 30 '23 07:01 eFail

This is also making it challenging to move a method from one location to another. I go to the start of the line and then press SHIFT+END to highlight the entire line (with the intention of cutting and then pasting elsewhere), but nothing happens.

eFail avatar Jan 30 '23 07:01 eFail

Requires https://github.com/microsoft/vscode/issues/172881. Should be able to fix it if the PR is merged.

mtbaqer avatar Feb 15 '23 22:02 mtbaqer