Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silic0ns0ldier/bazel-vscode-env
Tools to quickly assemble a developer environment for Bazel.
https://github.com/silic0ns0ldier/bazel-vscode-env
Last synced: 22 days ago
JSON representation
Tools to quickly assemble a developer environment for Bazel.
- Host: GitHub
- URL: https://github.com/silic0ns0ldier/bazel-vscode-env
- Owner: Silic0nS0ldier
- Created: 2024-06-15T11:10:16.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:38:21.000Z (4 months ago)
- Last Synced: 2024-07-11T12:08:04.868Z (4 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bazel Developer Environment for VSCode
Tools to quickly assemble a developer environment for Bazel.
This will likely also work well for projects using Bazel, however that is not the focus.
## Extensions
If using a dev container, these will already be installed.
- `bazelbuild.vscode-bazel`
- `zxh404.vscode-proto3`
- `ms-vscode.cpptools`
- `galexite.bazel-cpp-tools`
- `georgewfraser.vscode-javac`
1. Run `bazel build //src:bazel-dev` so external dependencies can be resolved*.
2. *External dependencies will not resolve until [georgewfraser/java-language-server#288](https://github.com/georgewfraser/java-language-server/pull/288) is merged and published†.
3. †Technically the issue can be workaround in a `tools/bazel` script by injecting `--keep_going` and returning a `0` exit code.## Environment
### [Dev Container](https://containers.dev/)
To use, copy folder in `./dev-containers/master` to the Bazel repo root.
### Nix (soon)
...
## TODO
- [ ] Publish image so container starts faster.
- [ ] Define environment in Nix (for `nix-shell` and `nix shell`), and possibly use Nix to generate the dev container image (adds native macOS support).
- [ ] Figure out something for Windows, perhaps using Windows containers or something similar to Nix.