一、键入Alt + Insert调出定制生成类方法,可选择的方法有:

Constructor

Getter

Setter

Getter and Setter

equals() and hashCode()

toString()

Override Methods...

Delegate Methods...

Test...

Copyright

IDEA中Alt + Insert快捷键定制生成类方法

 

 二、选择toString()方法

IDEA中Alt + Insert快捷键定制生成类方法

 

三、再次键入Alt + Insert选择Getter and Setter方法

IDEA中Alt + Insert快捷键定制生成类方法

IDEA中Alt + Insert快捷键定制生成类方法 

相关文章:

  • 2022-12-23
  • 2021-11-04
  • 2021-05-31
  • 2022-12-23
  • 2021-12-14
猜你喜欢
  • 2021-08-14
  • 2021-04-02
  • 2021-03-31
  • 2021-08-30
  • 2022-12-23
  • 2021-12-22
  • 2021-09-26
相关资源
相似解决方案