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

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

Open
eFail opened this issue Jan 30, 2023 · 2 comments
Open

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

eFail opened this issue Jan 30, 2023 · 2 comments

Comments

@eFail
Copy link

eFail commented Jan 30, 2023

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
Copy link
Author

eFail commented Jan 30, 2023

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.

@mtbaqer
Copy link
Owner

mtbaqer commented Feb 15, 2023

Requires microsoft/vscode#172881. Should be able to fix it if the PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants