Файли
openidea/crates/ide-host
ntbang0901 f8e0ad57ff fix(kotlin): wait for the jdtls import before replacing Kotlin libraries (#7773)
openidea.kotlin.replace was sent as soon as jdtls answered initialize, but jdtls holds commands while it imports the project, so an import longer than about two minutes hit the fixed 120 s timeout and the request was never resent; Java kept the old Kotlin API until a file changed. Each snapshot now waits for jdtls' ServiceReady first (shown in the status bar and cancellable there) and the 120 s count starts from there. A snapshot that times out, is refused or loses its server is retried after 5, 15 and 45 s before it is reported; a jdtls the user stopped is not started by a retry.

Closes #7726

Co-authored-by: ntbang0901 <[email protected]>
2026-12-03 18:35:27 +08:00
..