Closed hb9 closed 5 years ago
Changes were made to metals to do more work after the initialization. I think this is no longer an issue. If I'm wrong, please reopen.
The initialize
request should not take more than a few hundred milliseconds at most. The indexing work happens now after the initialized
notification.
Due to long startup-times of metals for larger projects the default value of lsp-response-timeout of 10 seconds is not enough. It took me some time to figure that out. Maybe you could mention the necessity of increasing that value in the readme?
If the
lsp-response-timeout
value is to small the time-out-error is interrupting the initialization which is causing thatlsp--workspace-server-capabilities
is not setup correctly.