Jinbo Wang
Jinbo Wang
I vote for smart code completion based on context and history. Currently jdt.ls already supports returning the selected completion item without adding additional client-side code. IntelliCode has adopted this behavior....
We also noticed the error `assertion failed: Marker property value is too long` seems to occur more frequently with gradle-managed android projects when opening it with vscode-java. This might be...
The jsonrpc processor can be blocked by some handlers as below, which can affect the performance and responsiveness of the language server. To reproduce the blocking, open a medium-sized project...
When `WorkspaceEventsHandler.didChangeWatchedFiles` triggers `Resource.refreshLocal`, this can block the pipeline if the scheduling rule is acquired by other long running job. ``` "pool-1-thread-1" #51 prio=5 os_prio=0 cpu=9140.62ms elapsed=407.38s tid=0x000001e2ffb20fe0 nid=0x1e10 in...
One of the optimization challenges is calling `resource.refreshLocal(…)`, which needs a scheduling rule to lock the resource. JDT.LS relies on many patches that call `refreshLocal` to sync the resource tree...
> https://github.com/eclipse/eclipse.jdt.ls/blob/40a8c271e66c6fa419c2a72dd5df38108ee625a7/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/CompletionHandler.java#L124 Pls remember that the completion handler only measures the time taken by the language server on calculating proposals and converting proposals to lsp4j result. It does not include...
Agree we can track them both. For E2E, it's a more systematic approach to track performance on the framework level. You can easily apply it to any requests you're interested...
This certainly worths optimization. In a typical Spring Boot project (spring-petclinic), numerous `List` classes from various dependencies are included. However, when typing ‘List’, the suggestion for `“java.util.List”` does not appear...
I observed similar unusual behavior a few times when I clicked the "Run|Debug" codelens of Java main method. This might be an upstream bug in VS Code. I will attempt...
I agree that we should offer some guidance to users when they encounter fatal errors. However, the current problem is that Java extension does not have a reliable way to...