I am using the Spring tool suite for VS Code. It's working great, but there is one thing I am missing: in other IDEs you can view the documentation for a specific annotation or method.
For example:
If I try to view the documentation for any annotation in IntelliJ, it shows the documentation properly, but if I try to do the same in VS Code it shows up like this:
// Failed to get sources. Instead, stub sources have been generated by the disassembler.
// Implementation of methods is unavailable.
package org.springframework.beans.factory.annotation;
public abstract @interface Autowired {
public abstract boolean required() default true;
}
You can enable the setting java.maven.downloadSources.
Then each time you opened a class file, if the source jar does not exist locally, the extension will trigger a download task for that source jar. After that, next time you open that class file, you can see the source.
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