Skip to main content

Command Palette

Search for a command to run...

Enter does not work in vs code.

Published
1 min read
Enter does not work in vs code.
A

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.

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