Skip to content

Automatic source discovery fails for jars not built with Maven #4301

@linghengqian

Description

@linghengqian
  • Currently, java.maven.downloadSources can only be turned on or off, and if it's off, there's no way to download the source code of a single Maven dependency.

  • Image
  • Image
  • I expect that an interactive option can be added to java.maven.downloadSources. What I know is something similar to IntelliJ IDEA, where opening a .class file reveals an option to Download Sources or Choose Sources. Choose Sources can also be used to shade Java packages about org.apache.maven.plugins:maven-shade-plugin. I'm using IntelliJ IDEA as an example because I can't think of anywhere else outside of IntelliJ IDEA that offers this functionality.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions