When writing Javadoc for a class and when I wish to add a link to another class, I type:
{@link SomeCl<TAB>}
and IDEA completes with the full import, ie it will yield {@link com.foo.SomeClass}
; only afterwards can I choose to "replace with import".
Is there a way to tell IDEA to use imports in this situation instead?
(this is all the more frustrating that it does so automatically for code... Just not Javadoc)
Problem solved. I should explore the configuration options further!
File -> Settings -> Code Style -> Java, select tab "imports", there is an option to Use fully qualified classnames in Javadoc
which was checked. Simply uncheck it...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With