Артур Гудиев
Артур Гудиев

Reputation: 1144

Print javascript's method name in IDEA live template

In IDEA there is live template soutm which prints method name in Java files.

Can I define such live template for javascript and typescript files in IDEA?

Upvotes: 2

Views: 223

Answers (1)

lena
lena

Reputation: 93728

You can use jsClassName() and jsMethodName() built-in functions for this:

enter image description here

Upvotes: 5

Related Questions