I'm trying to make Intellij automatically add imports of some classes when using static methods, e.g.
By typing "assertTrue" I'd like to have IDEA automatically import org.testng.Assert.assertTrue;
Using Eclipse I was able to set (in preferences) the names of classes that I'd like to be searched for static imports (like described here: http://jdcarlflip.blogspot.com/2008/07/eclipse-tip-static-imports.html) . Is it possible with IDEA? Or maybe IDEA offers some other approach?