Description
For me this isn't fixed in Eclipse with
rust-analyzer 0.3.1394-standalone (0b32b65ca 2023-02-05)
from https://github.com/rust-lang/rust-analyzer/releases/tag/2023-02-06 (downloaded rust-analyzer-x86_64-pc-windows-msvc.zip and extracted so that i haveD:\Users\Hydra\.local\bin\rust-analyzer.exe
and the IDE is configured to use that specific file. Old version /without/ the.exe
extension that Eclipse downloads and extracts is deleted to be sure.
It's certainly better, but it still dies and in Eclipse 2/ Corrosion the end user experiance is that the IDE shows a 'Language Background Server Job' that never completes, task manager shows multiple instances of 'rust-analyzer.exe' and hover-over always fails with two errors in the IDE log:
Could not get hover region due to timeout after 500 miliseconds
java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
at org.eclipse.lsp4e.operations.hover.LSPTextHover.getHoverRegion(LSPTextHover.java:152)
...
and
Could not get hover information due to timeout after 500 miliseconds
java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
at org.eclipse.lsp4e.operations.hover.LSPTextHover.getHoverInfo(LSPTextHover.java:73)
...
Version details:
rust-analyzer 0.3.1394-standalone (0b32b65ca 2023-02-05)
Eclipse IDE for Embedded C/C++ Developers 4.26.0.20221201-1200 epp.package.embedcpp Eclipse Packaging Project
Corrosion: Rust edition in Eclipse IDE 1.2.5.202209271915 org.eclipse.corrosion.feature.feature.group Eclipse Corrosion
Originally posted by @hydra in #10910 (comment)