Tested with Bazel for IntelliJ
Java, Scala and Go targets Just Work™.
Add new targets to project view if they aren't detected automatically.
C++ is not supported in Bazel for IntelliJ. Use Clion or VSCode.
C++ projects work with Bazel for IntelliJ, but autocomplete/intellisense doesn't feel very snappy.
Although it's slow, the clang-lint integration is very helpful.
Go projects work with Bazel for IntelliJ. Alternatively, you can use IntelliJ for Go too.
For C++ use hedronvision/bazel-compile-commands-extractor
Follow instructions here
and then do
bazel run @hedron_compile_commands//:refresh_all
code .
Use rules_jvm_external and update deps in WORKSPACE
At some point, switch back to bazel-deps once it supports scala3
- clone the new repo
foo
- in
foo
,mkdir import-foo-dir
andgit mv
everything into that directory to avoid conflicts - in
MoonBase
do:gco -b import-foo-project
git remote add foo ${path-to-foo}
git fetch foo
git merge foo/main --allow-unrelated-histories
- put stuff where you want it and bazel-ify