Live Templates and static imports
Hi.
I'm trying to get a live template which uses a static method to work. What I currently have is:
abbrev.=aE , TemplateText=org.junit.Assert.assertEquals($END$);
this creates:
import org.junit.Assert;
....
Assert.assertEquals( );
I would like it to be:
import static org.junit.Assert.assertEquals;
...
assertEquals( );
Is there a way to achvieve this in live templates?
I'm using 9.0 (#IU-93.13)
regards
gretar
Please sign in to leave a comment.
Unfortunately, currently there is no way to achieve this. Please vote for:http://youtrack.jetbrains.net/issue/IDEABKL-5119
Bas