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
请先登录再写评论。
Hi Alexander,
I use 'Alt+N' for emulating 'None' button click there.
Denis
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
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
Hi, Denis.
I reported IDEA-72873.
thank you.
Thanks, assigned to responsible developer
Denis