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

Keyboard shortcut \<- for not working #409

Closed
thorimur opened this issue Mar 18, 2024 · 2 comments · Fixed by #410
Closed

Keyboard shortcut \<- for not working #409

thorimur opened this issue Mar 18, 2024 · 2 comments · Fixed by #410
Labels
bug Something isn't working

Comments

@thorimur
Copy link
Contributor

thorimur commented Mar 18, 2024

Description

The hover on says that \<- is a valid keyboard shortcut for it (and is one that I personally have muscle memory for), but it's overtaken by the (also very nice) new autoclosing behavior for angle brackets introduced by #405.

Steps to Reproduce

  1. Type \<-space

Expected behavior: is inserted

Actual behavior: ⟨- ⟩ is inserted

Versions

v0.0.130
4.7.0-rc1
macOS

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

@thorimur thorimur added the bug Something isn't working label Mar 18, 2024
@thorimur
Copy link
Contributor Author

One fix for this is of course "remove the \<- keyboard shortcut", but I wonder: is it possible to have VS Code somehow consider ⟨- a keyboard shortcut for ? Though I suppose deletion of would need to be handled somehow, which that PR's description seems to indicate is difficult.

@mhuisi
Copy link
Collaborator

mhuisi commented Mar 18, 2024

Ah. That's very unfortunate. I will revert the change since this affects lots of other abbreviations as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants