Creating custom live templates

Answered

I am looking to create a new live template just like the System.out.println().

It does by the name of new Node($END$);

I went to Settings > Live Templates and copied the sout template and created my own newnode as a duplicate of sout. It works fine.

I would like it to work like the sout function, i.e x.sout and enter gives System.out.println(x);

Eg: 4.newnode and enter gives out new Node(4)

0
2 comments
Avatar
Permanently deleted user

It worked!!

Thank You!!

0

Please sign in to leave a comment.