Search code examples
intellij-ideaintellij-15

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


Solution

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