Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

After installing the extension, the enter key does not work properly. Hope you can fix it one day soon. #413

Open
nm-uranusis04 opened this issue Apr 4, 2023 · 3 comments
Labels

Comments

@nm-uranusis04
Copy link

nm-uranusis04 commented Apr 4, 2023

After installing the extension, the enter key does not work properly. Hope you can fix it one day soon.

https://stackoverflow.com/questions/75896153/cannot-create-line-break-with-enter-key-in-vs-code

@julekgwa
Copy link

julekgwa commented Apr 7, 2023

microsoft/vscode#178932

@jasonwilliams
Copy link
Collaborator

This is interesting. Is it the official styled components extension you’re using? Could you list the extensions you’re using? (With the ids?

Do you have a test case? Or some steps to reproduce the problem?

@addisonian
Copy link

The extension added a keybinding for the "enter" key with no "when" parameters, so it completely hijacks the enter key. You can go to Preferences>Keyboard Shorcuts and look for vscode-styled-components under the source column. Remove that key binding and you should be good to go.

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

No branches or pull requests

4 participants