is there a way to get IJ to recognize methods of y...
# intellij
d
is there a way to get IJ to recognize methods of your classes and libraries so they can be imported without having to type the fully qualified name first and then "add import"? an example is guava Precondition.checkArgument... the ultimate goal would be to just be able to call
checkArgument(x==1)
but to get there first I must type com.google.common.base.Precondition.checkArgument() and then do add import I would like to be able to type either checkArgument or Precondition.checkArgument and then get a wavy underline that i can alt-enter on to get it to import... this kind of thing works great in java, but not kotlin