From 10693f28050afb69a7c05c4e7c06473a6abfe7b9 Mon Sep 17 00:00:00 2001 From: Gunnar Wagenknecht Date: Thu, 5 Sep 2024 16:47:43 +0200 Subject: [PATCH] Add support for try_import --- .../bazel/eclipse/core/projectview/BazelProjectFileReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/com.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/projectview/BazelProjectFileReader.java b/bundles/com.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/projectview/BazelProjectFileReader.java index a4ac2e90..451d326f 100644 --- a/bundles/com.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/projectview/BazelProjectFileReader.java +++ b/bundles/com.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/projectview/BazelProjectFileReader.java @@ -227,7 +227,7 @@ private void parseProjectFile(Path bazelProjectFile, BazelProjectViewBuilder bui parseSectionBodyAsBoolean(rawSection, builder.deriveTargetsFromDirectories); break; } - case "import": { + case "import", "try_import": { Path fileToImport; try { fileToImport = rawSection.getBodyAsPath();