From 7948ca36c8e332c7de41dc6a8c790a12c1536b02 Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Thu, 26 Nov 2020 10:33:18 +0100 Subject: [PATCH] Bazel: Document attaching the Java sources in IntelliJ. (#8070) CHANGELOG_BEGIN CHANGELOG_END --- BAZEL.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BAZEL.md b/BAZEL.md index a470bff299..d5a4b9a2f1 100644 --- a/BAZEL.md +++ b/BAZEL.md @@ -265,8 +265,10 @@ TO configure IntelliJ to use this JDK: 3. Press the _plus_ button and select "Add JDK". 4. Choose the _dev-env/jdk_ directory. 5. Name it "DAML JDK" or something similar. -6. Open _Project Settings_ → _Project_. -7. Select the DAML JDK from the _Project SDK_ list. +6. Ensure there's sources attached under the _Sourcepath_ tab. If not, add them. + Press the _plus_ button and select _dev-env/jdk/lib/openjdk/src.zip_. +7. Open _Project Settings_ → _Project_. +8. Select the DAML JDK from the _Project SDK_ list. ### Overview over Bazel IntelliJ Integration