microsoft / microsoft/vscode-java-dependency

Source code from dependency with classifier cannot be found

Open
#269 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug upstream
Dominant language
TypeScript
Stars
199
Forks
105
Avg merge
1d 22h
Merged PRs (30d)
27

Description

If an app depends on a jar with a classifier then the sources cannot be found and you get the (rubbish) disassembler results. E.g.

		<dependency>
			<groupId>com.example</groupId>
			<artifactId>mylibrary</artifactId>
			<version>1.0.0-SNAPSHOT</version>
			<classifier>func</classifier>
		</dependency>

might have many classes, and source code, but none of them can be browsed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem with the classifier-bearing dependency shown in the issue and inspect the extension's source lookup path for Java dependencies. Done means classes from the classified JAR expose their source code for browsing instead of only disassembler output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.