Handle LSP requests when blocking while flushing writes #12176
Labels
A-command
Area: Commands
A-language-server
Area: Language server client
C-enhancement
Category: Improvements
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
#11902 (comment) points out a case where a language server appears to be awaiting a response to
workspace/configuration
in order to respond totextDocument/formatting
. This is a problem for:write-quit
since we block the main thread waiting for thetextDocument/formatting
response while the main thread is also responsible for replying to LSP server requests. Ideally we should be able to continue responding to LSP requests while awaiting shutdown.The text was updated successfully, but these errors were encountered: