Automatically download sources/documentation from maven working great

I complain a lot on these Intellij forums. So for a change here is 'kudos' for a feature working well:

Just do a "Search anywhere" (Opt-Shift-A) for "automatically download".  This brings up Maven |Importing | Preferences dialog.

2/3 way down there are small checkboxes:  Automatically download     Sources  Documentation.   Check these!  Now in good shape.

Screen Shot 2015-02-07 at 4.22.54 PM.png

7

Please note that the proposed method will not download sources for existing dependencies. In order to download sources on demand you need to select pom.xml and choose Maven->Download Sources (worked for me on IntelliJ ULTIMATE 2017.1)

11

请先登录再写评论。