Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Starlight (Starlark Syntax Highlighter)New to Visual Studio Code? Get it now.
Starlight (Starlark Syntax Highlighter)

Starlight (Starlark Syntax Highlighter)

Byoungchan Lee

|
1 install
| (0) | Free
Lightweight Starlark syntax highlighting for Bazel files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Starlight

Starlight is a lightweight Visual Studio Code extension for Starlark syntax highlighting in Bazel files.

Features

  • TextMate-based Starlark syntax highlighting
  • Line comments using #
  • Bracket and quote pairing

Supported Files

  • BUILD
  • WORKSPACE
  • WORKSPACE.bzlmod
  • MODULE.bazel
  • REPO.bazel
  • *.bzl
  • *.bazel

Non-goals

This extension does not run Bazel, index workspaces, provide CodeLens, start a language server, format files, or run Buildifier.

Development

pnpm install
pnpm test
pnpm package

This project pins pnpm in package.json and configures minimumReleaseAge: 10080 in pnpm-workspace.yaml.

License / Attribution

See LICENSE and NOTICE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft