Idea live template
Answered
Hello,
I try to configure custom live template. I need apply live template to class field. I've created live template .bean in java scope.

I expect result like this:

But i got next result:

My live template settings:

How i able to get field name in class and wrap my class to public BeanGetter<$FIELD_NAME$> suggestClassNameVariable()?
Thank you in advance.
Please sign in to leave a comment.
Hello,
It's not possible, but as a workaround you could use surround template. So you'll need to select "Test" and run "Surround with live template"
Also you could try this plugin: https://plugins.jetbrains.com/plugin/9862-custom-postfix-templates