bazel-contrib / bazel-contrib/vscode-bazel

Add support for project view files

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

Description

In order to limit the scope of what is rendered in the IDE for a given project, implementing support for `.bazelproject` files would help bring this plugin to parity with https://plugins.jetbrains.com/plugin/8609-bazel-for-intellij or https://plugins.jetbrains.com/plugin/22977-bazel-eap-

The spec for bazel project files can be found here: https://ij.bazel.build/docs/project-views.html

Similar to https://github.com/salesforce/bazel-vscode-java and the previously mentioned IntelliJ plugins, adding this feature would also introduce the concept of a project `sync` event that would be triggered by the user. This sync would be responsible for mirroring the state of the current .bazelproject file onto the current vscode workspace.

I would be happy to contribute this feature, but per the contribution guidelines I wanted to file this issue first. Thank you!

Contributor guide

Open the contributing guide

Research direction

Start with the linked `.bazelproject` specification and compare the referenced IntelliJ and bazel-vscode-java implementations. Define how project files scope the VS Code workspace and how a user-triggered sync should mirror the current file; done means the feature reaches parity with the stated project-view behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.