Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

intellij "downloading maven sources and documentation" please stop

My intellij keeps saying "downloading maven sources and documentation"

I have no why it keeps saying this. Is there some way to stop intellij constantly trying to download?

like image 222
bharal Avatar asked Jun 22 '17 17:06

bharal


People also ask

Does IntelliJ IDEA support Maven?

IntelliJ IDEA supports a fully-functional integration with Maven that helps you automate your building process. You can easily create a new Maven project, open and sync an existing one, add a Maven support to any existing IntelliJ IDEA project, configure and manage a multi-module project. The Maven 2 version is not bundled with IntelliJ IDEA.

Do I need to download the IntelliJ documentation?

You do not need to download the documents as Intellij doesn't use them. To disable the downloading of documentation and/or sources you should look in settings at the build-tools, maven, import section.

How do I fix Maven projects that won't start or import?

Open Project Structure dialog and select Project from the options on the left. Check the source language level for your project. Check the source language level for each module (click the Sources tab). To fix issues that are related to the Maven projects that won't start or import, you can perform one of the following actions.

How do I disable IntelliJ from downloading the source code?

You do not need to download the documents as Intellij doesn't use them. To disable the downloading of documentation and/or sources you should look in settings at the build-tools, maven, import section. You can see it in this image (provided by @CrazyCoder in his comment on your question).


1 Answers

IntelliJ uses the sources to provide popup documentation for compliant libraries. So, when your cursor is on a library method you can press ctrl-q (on a pc) to view the quick-help window. This renders the javadocs directly from the source. If the source isn't available then this feature only shows you the details of the method signature. Intellij also uses this capability to render the documentation from your own classes.

It also uses the sources to allow you to navigate to the actual code that you're calling -- this is useful when writing code and you need to know how a library is implemented or when debugging and you want to trace inside a library.

It takes a short while to download the source for any particular library, but java apps typically have a lot of libraries so overall it can be time-consuming, but it really shouldn't take that long.

So, you probably want to let IntelliJ download those sources because they're really useful. You do not need to download the documents as Intellij doesn't use them.

To disable the downloading of documentation and/or sources you should look in settings at the build-tools, maven, import section. You can see it in this image (provided by @CrazyCoder in his comment on your question).

Disable documentation and or sources

like image 186
Software Engineer Avatar answered Oct 23 '22 02:10

Software Engineer