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.

3 comments
Comment actions Permalink

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

0
Comment actions Permalink

Alain Ravet wrote:

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


The key shortcut is Alt-Insert.

--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

>

The key shortcut is Alt-Insert.

>

, or
Ctrl-Enter on Macs

Alain

0

Please sign in to leave a comment.