Enter does not work in vs code.

Amrit AcharyaAmrit Acharya
1 min read

Solutions

Option 1:

Go to settings.json file in vs code and write the following command

{
 "editor.acceptSuggestionOnEnter": "on", //or "editor.acceptSuggestionOnEnter": "smart"
}

Option 2:

  1. If you have installed https://marketplace.visualstudio.com/items?itemName=styled-components.vscode-styled-components extension in your vs code extensions, just uninstall it and try an alternative because it is not well maintained extension.

  2. Press "CTRL+K+S" simultaneously and the window is opened

  3. Search "enter" there and right-click on the command contributed by vscode-styled-components

  4. Then press on "Remove binding".

    Here, your enter problem should be fixed. If any confusion please contact me through email: amritach222@gmail.com

0
Subscribe to my newsletter

Read articles from Amrit Acharya directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Amrit Acharya
Amrit Acharya

As a MERN developer, I specialize in building web applications using the MERN stack, which includes MongoDB, Express.js, React.js, and Node.js. With extensive skills in developing scalable and robust web applications, I am committed to delivering high-quality solutions that meet the needs of my clients.