Merge pull request #90 from brendandouglas/master

Import of bazel plugin using copybara
tree: 66caf76d7a0ac2a151905db115a173e0ce13b4b5
  1. aswb/
  2. base/
  3. build_defs/
  4. clwb/
  5. common/
  6. cpp/
  7. golang/
  8. ijwb/
  9. intellij_platform_sdk/
  10. java/
  11. plugin_dev/
  12. proto/
  13. python/
  14. scala/
  15. sdkcompat/
  16. terminal/
  17. testing/
  18. third_party/
  19. .gitignore
  20. AUTHORS
  21. BUILD
  22. CHANGELOG
  23. CONTRIBUTING.md
  24. CONTRIBUTORS
  25. LICENSE.txt
  26. README.md
  27. version.bzl
  28. WORKSPACE
README.md

An IntelliJ plugin for Bazel projects

This is an early-access version of our Blaze 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 IntelliJ with Bazel, Android Studio with Bazel, or CLion with 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.