IntelliJ2-IDEA get Maven-2 to download source and documentation

微笑、不失礼 提交于 2020-01-04 03:48:06

问题


I have a spring mvc project setup using maven in IntelliJ. While I was setting the project up, IntelliJ asked me if I wanted to download the source and documentation. In order to save time at that point I did not select this option. However now I would like to download some of the source if not all. Does any one know where how to accomplish this in IntelliJ for a project that has already been setup?

The question is specific to how to do this with intelliJ since I would like all the mouse over and documentation features in IntelliJ to show me the source / documentation when needed.

Thanks,


回答1:


For automatic downloading: Go to File --> Settings --> Maven --> Importing. Then check the automatic download options.

To do so once only, open the Maven tab and click on the download icon and select "Download Sources and Documentation"



来源:https://stackoverflow.com/questions/7572500/intellij2-idea-get-maven-2-to-download-source-and-documentation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!