IntelliJ2-IDEA让Maven-2下载源代码和文档 [英] IntelliJ2-IDEA get Maven-2 to download source and documentation

查看:270
本文介绍了IntelliJ2-IDEA让Maven-2下载源代码和文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IntelliJ中使用maven进行了一个spring mvc项目设置。
当我设置项目时,IntelliJ问我是否要下载源代码和文档。为了节省时间,我没有选择此选项。但是现在我想下载一些来源,如果不是全部的话。对于已经设置好的项目,有没有人知道如何在IntelliJ中完成此任务?

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?

问题是如何使用intelliJ来实现这一点,因为我希望所有鼠标悬停和IntelliJ中的文档功能,以在需要时向我显示源/文档。

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.

谢谢,

推荐答案

自动下载:转到文件 - >设置 - > Maven - >导入。然后检查自动下载选项。

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

仅执行一次,打开Maven选项卡并单击下载图标并选择下载源和文档

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

这篇关于IntelliJ2-IDEA让Maven-2下载源代码和文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆