What is the eclipse shortcut for auto-generating a default and field constructor?

前端 未结 10 1188
情话喂你
情话喂你 2020-12-13 16:59

I had a look at: Eclipse-Shortcuts, but I found nothing for generating a constructor.

Whats the shortcut for generating a standard constructor?

10条回答
  •  一向
    一向 (楼主)
    2020-12-13 17:46

    Or you could type Ctrl + 3 and type GCUF, what means. Generate Constructor Using Field. Do almost the same to generate getters and setters: Type Ctrl + 3 and type GGAS, what means, Generate Getters And Setters

提交回复
热议问题