-
Notifications
You must be signed in to change notification settings - Fork 506
Closed
eclipse-jdtls/eclipse.jdt.ls
#3589Milestone
Description
I suspect that we're underreporting issues with project imports via telemetry. Here's a scenario:
- Clone the Apache Maven repo: https://github.com/apache/maven
- Open VS Code on the resulting folder
- Wait until project import has finished
- Observe: you get some problems reported in pom.xml files, but no "unresolved imports" in Java files
- Execute "Java: Rebuild Projects" and select all projects when asked
- Wait until the rebuild has finished
- Observe: you now get thousands of errors in Java files about imports that cannot be found. For example
org.apache.maven.api.model.Plugincannot be found inLifeCycle.java
Note that the import errors are correct: the problem I'm reporting is that when we report the telemetry event java.workspace.initialized, the problems are not yet present. This makes our numbers for successful import unreliable. In particular, they are probably worse than what we think.