B

Bazel Build Formatter

JetBrains

pablovp · v—

An IntelliJ plugin to format Bazel 's BUILD and WORKSPACE files using buildifier . You must install buildifier separately. Usage ===== While on a BUILD or WORKSPACE file right-click and select "Format BUILD file". Alternatively use the shortcut Shift-Alt-K.

Formatting
Downloads
18K
17 717
Rating
4.1 ★
2 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 2 ratings
4★ 50.0%
2★ 50.0%

Reviews 2

★★★★★ Dmitry Berezhnoy 2019-10-24

Same PATH problem here, I can invoke buildifier from IDEA Terminal, but when I use the shortcut I get Cannot run program "buildifier": error=2, No such file or directory.

★★★★★ Michael Prentice 2019-03-01

I have @bazel/buildifier installed via NPM, but I can't seem to find out how to tell this plugin what the PATH to this executable is. There doesn't appear to be any configuration panel for this plugin in Webstorm 2018. I don't see the "Format BUILD file" option in the UI, but I do see the following error when I press Shift-Alt-K: Formatting failed: Cannot run program "buildifier": error=2, No...

Similar in “Formatting”