intellij: use Bazel-built goimports
Test Plan: Tested the watcher, it fixed my code
X-Origin-Diff: phab/D663
GitOrigin-RevId: 0e06b3a4043e1671d8bb553312c8894d7c916933
diff --git a/build/fietsje/main.go b/build/fietsje/main.go
index 1500623..5da9b49 100644
--- a/build/fietsje/main.go
+++ b/build/fietsje/main.go
@@ -128,6 +128,9 @@
"github.com/flynn/go-shlex",
)
+ // goimports
+ p.collectOverride("golang.org/x/tools", "v0.0.0-20201215171152-6307297f4651")
+
// First generate the repositories starlark rule into memory. This is because rendering will lock all unlocked
// dependencies, which might take a while. If a use were to interrupt it now, they would end up with an incomplete
// repositories.bzl and would have to restore from git.