diff options
author | Googler <noreply@google.com> | 2016-08-15 00:58:37 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2016-08-16 15:20:32 +0000 |
commit | 95c0ea1882ff5721f26f0e21ecf2b799fc35f5ea (patch) | |
tree | b8c506a45df83db07e32f7a43331e050e21a85d6 | |
parent | 0e666b8150cf2d55a23640327abf5d8f2f6fe4ca (diff) |
Reference IntelliJ plugin in Bazel docs.
--
MOS_MIGRATED_REVID=130240987
-rw-r--r-- | site/contributing.md | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/site/contributing.md b/site/contributing.md index ab60ff2c1a..99d13b9c1a 100644 --- a/site/contributing.md +++ b/site/contributing.md @@ -50,8 +50,17 @@ a lot of time in a patch. ## Setting up your coding environment -For now we have partial support for the Eclipse and IntelliJ IDEs for Java. We -don't have IDE support for other languages in Bazel right now. +For now we have support for IntelliJ, and partial support for the Eclipse IDE +for Java. We don't have IDE support for other languages in Bazel right now. + +### Creating an IntelliJ project + +To work with IntelliJ: + +* Install the [IntelliJ-with-Bazel](https://github.com/bazelbuild/intellij) + plugin. +* Follow the instructions at [ij.bazel.io](www.ij.bazel.io) to setup your + project. ### Creating an Eclipse project @@ -64,14 +73,6 @@ To work with Eclipse: * Select `src > main > java` and `src > test > java` as directories and add `//src/main/java/...` and `//src/test/java/...` as targets. -### Creating an IntelliJ project - -To work with IntelliJ: - -* Run `sh scripts/setup-intellij.sh` from the root of the source tree to create - the necessary project files. -* Open the folder as a project in IntelliJ. - <a name="compile-bazel"></a> ### Compiling Bazel @@ -123,7 +124,8 @@ But if you want to debug the Java code, you must attach to the server using the run `jdb -attach localhost:5005`. From within Eclipse, use the [remote Java application launch configuration](http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-remotejava_launch_config.htm). - For IntelliJ, you can refer to [Run/Debug Configuration: Remote](https://www.jetbrains.com/idea/help/run-debug-configuration-remote.html). +* Our IntelliJ plugin has built-in + [debugging support](www.ij.bazel.io/docs/run-configurations.html) ## Bazel's code description |