This question explains how to enable auto-import settings. I did so, but when I type
/** some javadoc where I want to {@link SomeClass}
it doesn't do what I want. Upon typing SomeClass
IntelliJ shows me the potential link targets, all fine. I select one, and press enter. To then look at:
/** some javadoc where I want to {@link x.y,z.SomeClass}
What I would like instead:
import x.y,z.SomeClass;
...
/** some javadoc where I want to {@link SomeClass}
In other words: how do I make IntelliJ to auto-import classes for @linking instead of using the fully qualified class name?