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
Formatting requests has no source text included:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#documentFormattingParams
Because users can format in memory files, the server needs to keep track of the changes.
Created in `Backend` struct, so when we later support `textDocument/diagnostic` (we support currently only `textDocument/publishDiagnostic)`, we can use the same File System for it too :)
Putting the struct into a Workspace Worker is an option too, but there can be multiple of it.
With this solution, there is only one instance of it :)
0 commit comments