vscode-better-folding
vscode-better-folding copied to clipboard
"End" key can't be used on line of folded code
Repro
- Fold a method.
- Move the keyboard caret to that line.
- 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:

Actual result:
- Caret jumps to start of line for some reason.

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.
Requires https://github.com/microsoft/vscode/issues/172881. Should be able to fix it if the PR is merged.