bazel-contrib / bazel-contrib/vscode-bazel

VS Code Dependency Resolution for Java

Open
#281 7 comments 7 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
296
Forks
108
Avg merge
3d 22h
Merged PRs (30d)
5

Description

I am able to build projects using this extension, but I have not been able to get VS Code to resolve external dependencies using anything that I can find in Bazel build artifacts, BUILD files or anything else. Is there a prescribed way to get VS Code to resolve import statements using anything in the Bazel ecosystem, and the VS Code Java extension pack?

Is there's a way to pull all JARs, I could probably add them as "Referenced Libraries" in the Java Projects extension, for example.

Basically, all of my external `import` statements are unresolved, and I'd like to know how to fix that. I could work on contributing code if this is something the extension could benefit from.

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file, test, or entry point. First investigate how the extension currently exposes Bazel build artifacts and how the VS Code Java extension resolves referenced libraries; define success as external Java imports resolving from Bazel dependencies, then add coverage for that behavior.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.