Livetemplate script over args
hello
is it possible to apply some logic over args in the live template?
something like:
def __init__(self, $args$):
{% for $arg$ in $args$ %}
self.$arg$ = $arg$
{%end for%}
For IntelliJ there's grovyscript that may works for this, but there's nothing (afaik) for pycharm http://stackoverflow.com/questions/1440525/idea-live-template-to-log-method-args/21168027#21168027
here my question on SO
http://stackoverflow.com/questions/33396535/pycharm-any-intellij-functions-over-variables?noredirect=1#comment54584737_33396535
is it possible to apply some logic over args in the live template?
something like:
def __init__(self, $args$):
{% for $arg$ in $args$ %}
self.$arg$ = $arg$
{%end for%}
For IntelliJ there's grovyscript that may works for this, but there's nothing (afaik) for pycharm http://stackoverflow.com/questions/1440525/idea-live-template-to-log-method-args/21168027#21168027
here my question on SO
http://stackoverflow.com/questions/33396535/pycharm-any-intellij-functions-over-variables?noredirect=1#comment54584737_33396535
请先登录再写评论。
I'm looking for something just like this. Ever find anything that does this?