You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Allow configurable timeouts to be set on LSPs #7477
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Some LSPs take longer to initialize. Currently, opencode has a default of 45 seconds, which is generally long enough, but not for all projects.
As an example, projects that have a high number of dependencies that need to be downloaded may take longer than the default timeout. I've seen this as an example with the kotlin-ls LSP.
This is the suggestion to either allow the global timeout to be configured beyond the 45 seconds or allow a specific LSP to be configured to override the default. Alternatively, we could just bump the 45 seconds to a higher value, but I suspect this will be an ongoing problem.
If we decide on the per-server timeout, I think it makes sense to allow an override on a built-in LSP server as well as a custom server.
I started a PR here to see what it might look like, specifically for the first case. #6997
I am encountering a similar issue with Vue LSP (Volar) timing out due to heavy initialization, which seems related to the hardcoded timeout limits. The situation is exacerbated by a version mismatch in my project (Vue 3.4+ with legacy vue-tsc 0.39), but a configurable timeout would greatly help in diagnosing and mitigating such environment-specific slow starts. +1 for this feature request.
I am encountering a similar issue with Vue LSP (Volar) timing out due to heavy initialization, which seems related to the hardcoded timeout limits. The situation is exacerbated by a version mismatch in my project (Vue 3.4+ with legacy vue-tsc 0.39), but a configurable timeout would greatly help in diagnosing and mitigating such environment-specific slow starts. +1 for this feature request.
I have linked PR if you want to attempt to test. It fixes our issue.
Activity
pure-craft commentedon Jan 26, 2026
I am encountering a similar issue with Vue LSP (Volar) timing out due to heavy initialization, which seems related to the hardcoded timeout limits. The situation is exacerbated by a version mismatch in my project (Vue 3.4+ with legacy vue-tsc 0.39), but a configurable timeout would greatly help in diagnosing and mitigating such environment-specific slow starts. +1 for this feature request.
tjg184 commentedon Jan 28, 2026
I have linked PR if you want to attempt to test. It fixes our issue.
feat(lsp): make getClients() non-blocking to prevent initialization t…
github-actions commentedon Mar 30, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.