Live template logic over arguments

Hello all.

I've this problem for python, but i ask here becaouse the comunity is larger (apparently) and it's cross IDE.

What i want to do i sot iterate over arguments specified by the user.

Quick example (a class that initialize all the self variables, i'm a bit rusty in Java, but should be like this)

public class Test($args$) {
        %for arg in args% //some sintaxt that i'm looking for
          this.$arg$ = $arg$

here a link to a question i created in SO

Comment actions Permalink

Thanks, apprently intellij and pycharm are not exactly the same and the groovyscript is available only in intellij. i'll ask in the pycharm forum


Please sign in to leave a comment.