Skip to content
PluginStats

Bazel installs statistics

By The Bazel Team · VS Code Marketplace · Programming Languages

Bazel BUILD integration

View on VS Code Marketplace Fresh · Dec 6, 2026

Bazel has 1,066,184 recorded installs on VS Code Marketplace, an increase of 1.7% over the past 30 days, ranking #524 of 2,515 tracked listings.

Installs
1,066,184
Official API · Dec 6, 2026
7-day growth
+0.4%
+4.4K installs
30-day growth
+1.7%
+17.8K installs
90-day growth
—
Insufficient history
Rank
#524
Among tracked VS Code Marketplace listings

Rating: 3.55 / 5 from 11 ratings

About Bazel

Bazel plugin for Visual Studio Code

Build Status

This extension provides support for Bazel in Visual Studio.

Features

  • Syntax highlighting
  • Bazel Targets tree displays the build packages/targets in your workspace
  • CodeLens links in BUILD files to directly launch a build or test by simply clicking on the targets
  • Buildifier integration to lint and format your Bazel files (requires that Buildifier be installed)
  • Bazel Task definitions for tasks.json
  • Coverage Support showing coverage results from bazel coverage directly in VS Code.
  • Code Navigation to go to BUILD files or labels
  • Starlark Debugger to debug Starlark code in your .bzl files during analysis phase (set breakpoints, step through code, inspect variables, etc.)
  • URI handler to go to targets from outside of VSCode. (Example: vscode://bazelbuild.vscode-bazel//path/to/tests:target)

Configuring the Extension

This extension adds a Bazel section to the extension settings in Visual Studio Code. If you have Bazel installed in a location that is not on your system path or if you wish to use a different version in the IDE, you should set the Bazel: Executable setting to the location of the Bazel executable.

Similarly, the Bazel: Buildifier Executable setting can be configured if you install Buildifier in a location that is not on your system path.

When Buildifier is installed, the Format Document command in Visual Studio code will reformat BUILD, WORKSPACE, .bzl, and .sky files using the tool and will display lint warnings from those files as you type. By default, this extension does not automatically fix lint warnings during formatting, but you can opt into this by enabling the Bazel: Buildifier Fix on Format setting.

Selecting the Bazel workspace root

The extension automatically searches upward for a MODULE.bazel, REPO.bazel, WORKSPACE.bazel, or WORKSPACE file. If that selects the wrong root, or if the Bazel root is nested below the folder opened in VS Code, set bazel.workspace.path to the Bazel root. The value can be an absolute path or a path relative to the VS Code workspace folder.

The extension supports one Bazel root per VS Code workspace folder. To work with multiple independent Bazel roots, use a VS Code multi-root workspace and add each Bazel root as a separate folder; bazel.workspace.path can then be set independently for each folder.

Using a separate output base

By default this extension will use the default output base for running queries. This will cause builds to block queries, potentially causing degraded performance. In Bazel versions since 7.1 it is safe to disable this by changing the bazel.commandLine.queriesShareServer setting to false. In earlier versions it can be safely disabled after adding the convenience symlinks to .bazelignore, for example:

bazel-myreponame
bazel-bin
bazel-testlogs

See #216 and bazelbuild/bazel#106539.

Using the Starlark Debugger

The Starlark Debugger is designed to help you understand and debug Starlark code execution during Bazel's analysis phase. It's particularly useful when working with macros, rule implementations, or aspects - giving you insight into how your build configuration is processed.

To start debugging, simply right-click any build target in the Bazel Targets section in the Explorer View and select "Build Target with Starlark Debugger". Or use the command palette and search for "Bazel: Build Target with Starlark Debugger". This launches the Bazel build within Visual Studio Code's debugger, redirecting output to the Debug Console pane and automatically pausing at any breakpoints you've set.

Helpful tips for effective debugging:

  • The debugger activates when Bazel evaluates Starlark code. With the flags automatically applied by the extension, your Starlark code will be reanalyzed each debugging session, ensuring breakpoints are consistently hit.
  • Set breakpoints directly in *.bzl files next to line numbers where your Starlark functions are implemented.
  • For builds requiring specific configuration arguments, use the bazel.commandLine.commandArgs setting to add them.

Once debugging is active and Bazel pauses, you can step through your Starlark code, add watch expressions in VSCode's Debug pane to monitor variables, and execute statements directly in the Debug Console input area.

To stop the debugging session, click the "Stop" button in the debugger. This terminates the current Bazel process while keeping the Bazel server running for future builds.

Using a language server (experimental)

This extension can use a language server for various features, such as go to definition and completions. There are currently two compatible language servers:

  • bazel-lsp is based on Facebook's Starlark language server and extends it with additional, Bazel-specific functionality.
  • starpls is an implementation based on rust-analyzer which also provides Bazel-specific functionality.

In general, you need to install the language server binary and then set the bazel.lsp.command setting. See the README of the corresponding repo for more specific setup instructions.

We can't currently make any recommendation between these two. Both are under active development and are rapidly gaining more functionality.

Bazel tasks

Bazel tasks can be configured from the tasks.json using the following structure:…

Description from the VS Code Marketplace listing.

  • Bazel
  • bazelrc
  • debuggers
  • starlark

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Bazel installs on VS Code Marketplace, last 90 days: 1,066,184 installs as of Dec 6, 2026.BazelInstalls on VS Code Marketplace · Last 90 days1,066,184installs1M1M1M1M1M1.1M1.1M1.1M1.1M1.1MSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Bazel installs on VS Code Marketplace, last 90 days: 1,066,184 installs as of Dec 6, 2026.

7/30/90-day growth

Bazel installs growth on VS Code Marketplace: +0.4% over 7 days, +1.7% over 30 days, 90-day growth unavailable.BazelInstalls growth on VS Code Marketplace1,066,184installs now7-day growth+4,436 installs+0.4%30-day growth+17,765 installs+1.7%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Bazel installs growth on VS Code Marketplace: +0.4% over 7 days, +1.7% over 30 days, 90-day growth unavailable.

Ranking history

Bazel VS Code Marketplace ranking history: currently #524 (by installs).BazelVS Code Marketplace ranking · by installs · Last 90 days#524current rank#522#524#526#528#530#532Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Bazel VS Code Marketplace ranking history: currently #524 (by installs).

Ratings over time

Bazel ratings on VS Code Marketplace, last 90 days: 11 ratings as of Dec 6, 2026.BazelRatings on VS Code Marketplace · Last 90 days11ratings9.51010.51111.51212.5Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Bazel ratings on VS Code Marketplace, last 90 days: 11 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 27, #5 (overall #525)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 10, #17 (overall #197)
Programming Languages: every listing in installs order

Listing placement

Debuggers216 listings · 11 pages · page 4, #1 (overall #61)
Debuggers: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for Bazel
Date (UTC)InstallsChange vs. previous
1,066,184+695
1,065,489+618
1,064,871+675
1,064,196+529
1,063,667+1.6K
1,062,108+226
1,061,882+134
1,061,748+306
1,061,442+272
1,061,170+740
1,060,430+477
1,059,953+746
1,059,207+792
1,058,415—

Similar VS Code Marketplace Programming Languages plugins

All 20 Bazel alternatives

Bazel on other marketplaces

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.