Add gerrit_daemon runtime config for IntelliJ
Change-Id: Ib362632d457d982b82e9c09d6bea8ecbaf7b2f26
This commit is contained in:
@@ -152,9 +152,15 @@ The Gerrit build works with Bazel's [IntelliJ
|
||||
plugin](https://ij.bazel.io). Do the following:
|
||||
|
||||
* Install the plugin (requires IJ 2016.2 or newer)
|
||||
* Select "File > Import Bazel project".
|
||||
* Restart IntelliJ
|
||||
* Select "Import Bazel Project" from the homescreen
|
||||
* Select "Workspace": (directory holding gerrit source)
|
||||
* Select "project view: generate from BUILD": (enter top level BUILD file)
|
||||
* Select "Import from workspace > Project view" : `.bazelproject`
|
||||
* Once the project was created, copy `tools/intellij/gerrit_daemon.xml` to
|
||||
`.idea/runConfigurations/gerrit_daemon.xml` in your IntelliJ output
|
||||
* In Settings > Appearance & Behavior > Path Variables create a new path
|
||||
variable called `TESTSITE_PATH` and provide the path to your local testsite
|
||||
as value
|
||||
|
||||
|
||||
=== Eclipse
|
||||
|
||||
Reference in New Issue
Block a user