java - generate constructor with inhereted fields -


intellij idea generates constructors (alt + insert) local fields, not fields inherited superclass.

this sounds bug me. or possible somehow?

edited:

constructor generator

the superclass fields not displayed in list because meant initialized superclass constructor; behavior design , not bug.

when invoke "generate constructor" action, offers select superclass constructor call. parameters of generated constructor combination of parameters of selected superclass constructor , list of fields in current class have selected in dialog.


Comments