A language server implementation for Bazel
Find a file
renovate[bot] 050c89aeca
Some checks failed
Rust / Build and Test (push) Has been cancelled
Rust / Release (push) Has been cancelled
chore(deps): update dependency protobuf to v29.5 (#148)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [protobuf](https://redirect.github.com/protocolbuffers/protobuf) |
bazel_dep | minor | `29.3` -> `29.5` |

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf (protobuf)</summary>

###
[`v29.5`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v29.5):
Protocol Buffers v29.5

### Announcements

- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.

### C++

- Remove fast-path check for non-clang compilers in MessageCreator.
([#&#8203;21612](https://redirect.github.com/protocolbuffers/protobuf/issues/21612))
(69cca9b7f5)

### Java

- Add volatile to featuresResolved
([#&#8203;20767](https://redirect.github.com/protocolbuffers/protobuf/issues/20767))
(128f0aafd9)

### Python

- Add recursion depth limits to pure python
(05ba1a8104)
- Internal pure python fixes
(1ef3f01c46)
- Fix: contains check segfaults on empty map
([#&#8203;20446](https://redirect.github.com/protocolbuffers/protobuf/issues/20446))
([#&#8203;20904](https://redirect.github.com/protocolbuffers/protobuf/issues/20904))
(21fdb7acdb)

### Other

- Re-enable aarch64 tests.
([#&#8203;20853](https://redirect.github.com/protocolbuffers/protobuf/issues/20853))
(03c50e3874)

###
[`v29.4`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v29.4):
Protocol Buffers v29.4

### Announcements

- [Protobuf News](https://protobuf.dev/news/) may include additional
announcements or pre-announcements for upcoming changes.

### Java

- Fix Java concurrency issue in feature resolution for old <=3.25.x
gencode using lazy feature resolution.
([#&#8203;20750](https://redirect.github.com/protocolbuffers/protobuf/issues/20750))
(ce5990778f)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cameron-martin/bazel-lsp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cameron Martin <cameronmartin123@gmail.com>
2025-06-26 23:13:14 +00:00
.github/workflows ci: Update ubuntu runners (#139) 2025-06-26 21:50:27 +01:00
.vscode build: Use rust-project.json (#10) 2024-02-18 21:32:54 +00:00
bazel build: Change workaround for rules_rust and zig interop (#138) 2025-06-26 21:50:15 +01:00
fixtures feat: Add bzlmod support (#1) 2024-02-22 23:57:35 +00:00
prost chore: Update rust and rules_rust version (#69) 2024-12-12 22:47:10 +00:00
src feat: Add support for logging & tracing (#118) 2025-02-15 19:09:13 +00:00
.bazelrc chore: increase verbosity for build/test failures (#104) 2025-01-19 11:03:44 +00:00
.bazelversion chore(deps): update dependency bazel to v8.3.0 (#116) 2025-06-26 21:11:54 +00:00
.gitattributes chore: ignore .lock files in github diffs (#109) 2025-01-22 18:20:49 +00:00
.gitignore build: Check in bzlmod lock file (#35) 2024-04-06 10:00:20 +00:00
BUILD feat: Add support for logging & tracing (#118) 2025-02-15 19:09:13 +00:00
Cargo.lock chore(deps): update rust crate htmd to 0.2.0 (#145) 2025-06-26 22:26:04 +00:00
Cargo.toml chore(deps): update rust crate htmd to 0.2.0 (#145) 2025-06-26 22:26:04 +00:00
CHANGELOG.md chore(master): release 0.6.4 (#80) 2025-02-11 23:57:15 +00:00
LICENSE Add cargo scaffold 2024-01-02 19:07:40 +00:00
MODULE.bazel chore(deps): update dependency protobuf to v29.5 (#148) 2025-06-26 23:13:14 +00:00
MODULE.bazel.lock chore(deps): update dependency protobuf to v29.5 (#148) 2025-06-26 23:13:14 +00:00
README.md feat: Add support for logging & tracing (#118) 2025-02-15 19:09:13 +00:00
renovate.json chore: Group rules_rust modules in renovate 2025-06-26 22:22:09 +01:00
WORKSPACE feat: Add bzlmod support (#1) 2024-02-22 23:57:35 +00:00

Bazel LSP

This is a LSP for bazel, based on starlark-rust.

Features

  • Go to definition for identifiers & labels
  • Autocomplete for identifiers & labels
  • Auto-import (currently only for open files)

Usage

Installation

Download a release from github releases and move it to somewhere on your $PATH.

Alternatively, it can be installed from source by cloning this repo and building with Bazel:

bazel build //:bazel-lsp -c opt

VSCode

Ensure you have the Bazel extension installed, and add the following config to your user settings.json:

{
  "bazel.lsp.command": "bazel-lsp"
}

Restart vscode for this to take effect.

Logging

Logging can be enabled using the RUST_LOG environment variable. For more info on the syntax of this environment variable, see the tracing_subscriber docs.

This can be set in vscode by setting the bazel.lsp.env configuration option:

{
  "bazel.lsp.env": { "RUST_LOG": "info" },
}