Is it possible to change IntelliJ's code generation template for equals() and hashCode()

前端 未结 4 1280
生来不讨喜
生来不讨喜 2020-12-17 08:54

Is it possible to change the code generation template for equals() and hashCode()?

I would like the generated code to use the Java 7

4条回答
  •  既然无缘
    2020-12-17 09:16

    Update: As of version 14.1 this is supported.

    Apparently this functionality does not exist.

    There is a request for it though, see: http://youtrack.jetbrains.com/issue/IDEA-56007

提交回复
热议问题