Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 15 "Code > Generate" context menu missing "equals() and hashCode()" entry

In my IntelliJ IDEA 15 (build 143.382), the context menu invoked via "Code > Generate" is missing the "equals() and hashCode()" entry. How can I configure the context menu contents to bring it back?

enter image description here

like image 725
Rahel Lüthy Avatar asked Dec 01 '15 09:12

Rahel Lüthy


1 Answers

My bad, turns out the contents are context-sensitive: I was invoking the menu from a class which didn't have any instance fields...

like image 66
Rahel Lüthy Avatar answered Nov 11 '22 12:11

Rahel Lüthy