-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code navigation is slow when running on 2023-06 #235
Comments
Your stack trace seems to be a bug of LSP4E or perhaps you MicroProfile language server cannot be started correctly. It seems that you server is stopped or something like this and it try to restart the server which takes some times. Have tou application.properties completion feature? |
Ok it means that Qute / Quarkus language server cannot be started. Have you another traces? |
Here's the log file. |
It seems language server cannot be started but why? It misses some logs I think that JBoss Quarlu sshouldadd like the start command of the ls. Let's wait for @sbouchet back to discussabout that and discover your problem. Thanks for sharing your log |
@lfcortesco : i'm about to release a new version, based on 4.29, with newer version of Qute and Quarkus LS . Can you provide a sample ? |
@sbouchet That behavior is for any project, even for other Java projects. |
@sbouchet I think the problem was about language servers was not ableto start and in LSP4E there are so many timeout which freezes the Eclipse IDE UI when language server cannot be started. So I think no wyou have fixed this start, I think it will fix this issue. |
ok then, please update to new version that fixes LS starts as soon as it will be out. |
I tried this week to add Quarkus LS to my Eclipse IDE (latest version) and it seems to always slowdown code navigation and editing. |
The source code navigation is too slow after installing the plugin. After executing cmd+click to go the class clicked, it hangs for about 10 seconds and then opens the file. In the meantime, it shows up the loading indicator. It doesn't happen before the plugin installation. I found this trace in the error log:
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096) at org.eclipse.lsp4e.LanguageServerWrapper.lambda$10(LanguageServerWrapper.java:453) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Stream closed at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72) at org.eclipse.lsp4e.LanguageServerWrapper.lambda$3(LanguageServerWrapper.java:283) at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.request(RemoteEndpoint.java:161) at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:91) at jdk.proxy12/jdk.proxy12.$Proxy34.shutdown(Unknown Source) at org.eclipse.lsp4e.LanguageServerWrapper.lambda$10(LanguageServerWrapper.java:451) ... 7 more Caused by: java.io.IOException: Stream closed at java.base/java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:445) at java.base/java.io.OutputStream.write(OutputStream.java:162) at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81) at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142) at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:69) ... 12 more
The following are the versions used for testing:
Version: 2023-06 (4.28.0)
Build id: 20230608-1333
Java version: 17
Additionally, I attached a short videoclip showing the behavior.
Screen.Recording.2023-08-04.at.10.34.25.AM.mov
The text was updated successfully, but these errors were encountered: