Open wecharyu opened 10 months ago
Thanks for reporting! By default we usually compile only the current and dependent projects based on the current open files. That usually makes most of the files compile. Was there any issues with compilation by any chance? That would stop downstream projects from being compiled.
There was not compile error message in the log, so it's a bit strange. BTW, I have also tried with Spark master code, and it can compile all the projects. I'm not sure why it does not work for my internal Spark code (v3.2.1) even though they share the same configurations.
Hard to say, do you have a link to a problematic tag/branch?
Describe the bug
Description I try to import Apache Spark project by Bloop and Metals in VS Code, but the metals will only compile some of the projects. Here is the part of Metals outputs:
From the output result, metals only compile for
spark-tags_2.12
,spark-sketch_2.12
,spark-kvstore_2.12
etc, but my projects number is 56, which means almost half projects would not be compiled.Here is an example,
spark-core_2.12
project was compiled and it could be attached in PACKAGES, whilespark-core_2.12-test
was not compiled, and we can not attach it in PACKAGES:Reproduction
Expected behavior
Metals should compile all projects exported in
.blood
:Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.2.0
Extra context or search terms
Bloop version: v1.5.13 Scala version: v2.12.18 Zinc version: v1.9.5 Metals version: v1.2.0 JDK: 1.8