From 3f316023409dd098621b9f75d27267640681f074 Mon Sep 17 00:00:00 2001 From: tudor-da Date: Wed, 30 Sep 2020 15:31:52 +0200 Subject: [PATCH] Update `Bazel/IntelliJ integration` onboarding docs (#7532) Update `Bazel/IntelliJ integration` docs with instructions on how to configure the Bazel plugin with the location of the binary --- BAZEL.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/BAZEL.md b/BAZEL.md index a5e527d82be..901b3f8a345 100644 --- a/BAZEL.md +++ b/BAZEL.md @@ -241,7 +241,14 @@ additional_languages: Click "Next" once you are ready. You will be able to modify the project view file whenever you like, so don't worry too much. -IntelliJ will now import the project. This process will take a while. +The first import of the project might fail due to a resolution error of the +`bazel` binary. In order to solve this, configure the Bazel plugin settings +with the location of the `bazel` binary, +by setting _Preferences_ -> _Bazel Settings_ -> _Bazel binary location_ +to `./dev-env/bin/bazel`. + +Now, re-trigger a sync of the workspace (IntelliJ Action: +_Sync project with BUILD files_). This process will take a while. [intellij_project_view]: https://ij.bazel.build/docs/project-views.html