Generate default constructor in a class with fields

I used to generate constructot with sequence Alt+Ins > constructor. In the case you intend to create default constructor in the class with fields, you have to click select none button. This is not very convenient, becuase select none button could be accessed either with tab (rarely used key) either with mouse. That button is also difficult to discover. Is it possible to enhance "Choose Fields dialog" in this way? For me it will be nice to have either dedicated option in the fields list, either create default constructor with Enter on classname.

regards, Alex

5 comments
Comment actions Permalink

Hi Alexander,

I use 'Alt+N' for emulating 'None' button click there.

Denis

0
Comment actions Permalink

Hi, Denis.
Thanks for the prompt, this works. But for me the dedicated option will be more convenient. as i pressed "insert" key with right hand, i have my fingers over narrows and near the Enter key, so and i can press down + enter faster compare to Alt+N.
By the way, how do i discover that shortcut normally?

regards, Alex

0
Comment actions Permalink

Agree, consider my previous post as a workaround. Feel free to submit corresponding usability enhancement request.

Regarding the hotkey detection - that's standard keyboard mnemonics feature, just check what symbol is underscored.

Denis

0
Comment actions Permalink

Hi, Denis.
I reported IDEA-72873.

thank you.

0
Comment actions Permalink

Thanks, assigned to responsible developer

Denis

0

Please sign in to leave a comment.