redhat-developer / redhat-developer/vscode-java
add source jars for local jar dependencies when using gradle
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
We have some local dependencies like:
dependencies {
api fileTree(dir: 'lib', include: '*.jar')
}
but there is no way to add the source jars which are in another directory.
Also, you cannot use 'Attach Source...' for some reason when gradle is being used?
How can we get vscode to find the related source jars for the included libs (everything compiles and runs fine)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Gradle configuration using fileTree for local JARs and source JARs in a separate directory, then investigate how vscode-java resolves sources for included libraries. Done means VS Code finds the related source JARs and source navigation works without relying on Attach Source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100