Live Template Help for Constructor Creation
I'd like to create a Live template that will automatically create a constructor for a class. The constructor will include all of my class fields as params. It will also set the class fields equal to the param values passed in.
Please sign in to leave a comment.
Shaun
>I'd like to create a Live template that will automatically create a constructor for a class. ...
>
No need for a LT: just trigger Generate->Constructor, and select all the
vars you need.
Alain
Alain Ravet wrote:
>> I'd like to create a Live template that will automatically create a
>> constructor for a class. ...
The key shortcut is Alt-Insert.
--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
>
>
, or
Ctrl-Enter on Macs
Alain