Clone this repo:

Branches

  1. 015973d Merge pull request #129 from brendandouglas/master by brendandouglas · 1 year, 11 months ago master
  2. c6812c0 Import of bazel plugin using copybara by Googler · 1 year, 11 months ago
  3. e6b919a Merge pull request #90 from brendandouglas/master by brendandouglas · 2 years, 2 months ago
  4. 8559ad4 Import of bazel plugin using copybara by Googler · 2 years, 2 months ago
  5. 516571d Import of bazel plugin using copybara by Googler · 2 years, 5 months ago

An IntelliJ plugin for Bazel projects

This is an early-access version of our Bazel plugins for IntelliJ, Android Studio, and CLion.

This code drop is for educational purposes only and is currently not kept up-to-date. It may not build correctly for you, and we are currently not accepting pull requests.

In the near future the repository will be open for business with live, working code and we will start accepting contributions.

Installation

You can find our plugin in the Jetbrains plugin repository by going to Settings -> Browse Repositories, and searching for Bazel.

Usage

To import an existing Bazel project, choose Import Bazel Project, and follow the instructions in the project import wizard.

Detailed docs are available here.

Building the plugin

Install Bazel, then run bazel build //ijwb:ijwb_bazel --define=ij_product=intellij-latest from the project root. This will create a plugin jar in bazel-genfiles/ijwb/ijwb_bazel.jar.