[SOLVED] IntelliJ IDEA – Enter key not working

Problem
Return key doesn’t work in IntelliJ IDEA code editor or it’s doesn’t work in code completion popup.

 

Cause
The Keymap configuration is wrong. You probably accidentally assigned the Enter key to the another action.

 

Solution A
The easiest method to fix the problem is to reset Keymap to defaults. Go to the File->Settings->Keymap and then choose Restore Defaults.

 

Solution B
The another solution of the problem is to revert previously made changes – one by one.  Go to the File->Settings->Keymap . All chances you have made are marked on a different colour like it’s shown on the image below. Review all marked assignments and fix them manually.

3 2 votes
Article Rating
Subscribe
Notify of
guest
1 Comment
oldest
newest most voted
Inline Feedbacks
View all comments
Sam Natangwe
Sam Natangwe
4 months ago

Thanks