开发者

Is there an easier way to specify javadoc urls in intellij?

开发者 https://www.devze.com 2023-01-19 08:03 出处:网络
I have multiple modules in an IntelliJ project where each module\'s dependencies are managed by ivy.

I have multiple modules in an IntelliJ project where each module's dependencies are managed by ivy.

My problem is that for every single module, I have to specify the javadoc url of common 3rd party libraries through these tedious actions:

  1. Pick up the mouse
  2. Find the library's javadoc in google
  3. Right click on the module and select Module Settings
  4. Go to the Dependencies tab
  5. Click on the correct module library
    • All modules have their dependencies pulled to their own jar directories through ivy, so combining common libraries into a pro开发者_如何转开发ject-level library is not an option
  6. Click Edit
  7. Click Specify documentation URL
  8. Paste the url
  9. Click 3 OK's
  10. Hit Ctrl+Q and see if it worked.
    • If it didn't work because I pasted the wrong url or used the wrong library, repeat.

Having to do this for every single module for commons-lang, commons-collections, hibernate, spring, etc gets very tedious. Is there a way to specify a global list of fallback javadoc urls?


Use Maven, IDEA can fetch sources and javadocs automatically from Maven and configure the project with zero clicks.

Another option would be writing custom ivy plug-in which will do the same or modify one of the existing ivy plug-ins.

0

精彩评论

暂无评论...
验证码 换一张
取 消