← All extensions

Starlark

v0.4.1 · by Ezekiel Warren · added 3 November 2026

Starlark support

LanguagesLanguage servers

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for Starlark. The extension's id is starlark.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

Starlark / Bazel support for Zed

Configure the LSP

By default, the extension only loads the Starpls LSP. If your project uses Buck2 or Tilt, you must manually enable the corresponding LSP in your zed settings

To use buck2:

{
  "languages": {
    "Starlark": {
      "language_servers": ["buck2-lsp", "!starpls", "!tilt"]
    }
  }
}

To use tilt:

{
  "languages": {
    "Starlark": {
      "language_servers": ["tilt", "!starpls", "!buck2-lsp"]
    }
  }
}

You can override the path to the LSP binary and its arguments by adding a binary section to your LSP settings (this works for all of starpls, buck2-lsp, and tilt):

{
  "lsp": {
    "starpls": {
      "binary": {
        "path": "/path/to/starpls",
        "arguments": ["server", "--experimental_enable_label_completions"]
      }
    }
  }
}