# Enter does not work in vs code.

### Solutions

**Option 1:**

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

```json
{
 "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](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".
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1696408816344/9b183128-6940-48d6-81be-6bc53f251f8a.png align="center")
    
    Here, your enter problem should be fixed. If any confusion please contact me through email: [amritach222@gmail.com](http://amritach222@gmail.com)
