a46c75da63
fix: reduce LSP timeout to 3 seconds
2024-10-22 21:08:03 +02:00
dc25a0ea14
refactor: improve handling and reporting of project manager and lsp errors
2024-10-14 17:56:39 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager
2024-09-19 21:54:18 +02:00
6fac0b1cb4
fix: prevent error.Overflow for LSPs that send crazy large messages
2024-09-18 21:33:19 +02:00
79ba5d32cd
feat: add basic support for responding to requests from a language server
2024-09-05 22:10:47 +02:00
7b812d73ea
refactor: change a -> allocator
2024-09-02 14:31:49 +02:00
82b5f5433d
fix(lsp): increase LSP request timeout to 30 seconds
2024-07-09 13:32:37 +02:00
f9bbc7f582
feat(LSP): add some logging of LSP start/stop
2024-07-08 22:41:34 +02:00
032982c1e8
refactor: rework error handling to simplifiy command implementation and provide better back traces
2024-06-26 23:29:39 +02:00
830000579b
feat(lsp): add initial support for LSP completion requests
2024-06-25 21:12:29 +02:00
a79a49e4b9
feat: log LSP receive errors
2024-06-25 21:07:20 +02:00
e1a94bf8f2
fix: move flow state files from ~/.cache/flow to ~/.local/state/flow
...
This better matches the XDG Base Directory Specification.
Please move existing state files from ~/.cache/flow to ~/.local/state/flow
manually if you want to keep them.
2024-06-23 15:49:40 +02:00
2d3633fc3c
fix: immediatly process additional messages in single recv
2024-04-21 20:43:50 +02:00
b197b1235b
fix: add timeout to synchronous language server calls
...
Otherwise if language server does not respond then we effectively hang.
2024-04-19 22:06:15 +02:00
33dd4486eb
fix: don't hang project_manager if language server exits early
2024-04-17 21:13:20 +02:00
cc607089df
feat: process textDocument/publishDiagnostics notifications from language server
2024-04-16 23:22:47 +02:00
9eb6dd3be4
fix: send sigterm to languages servers on exit
...
Not all language servers willingly exit if we just close stdin. Eventually
we will follow the protocol's shutdown process, but for now we just send a
sigterm.
2024-04-15 21:15:26 +02:00
5375e1449e
feat: send didChange, didSave and didClose events to language server
2024-04-13 02:50:02 +02:00
fc15c8bda6
feat: first (mostly) working version of goto_definition command
...
Tested only with zls and clangd so far.
2024-04-05 22:55:23 +02:00
98104658b4
feat: lots more work on LSP support (WIP)
...
First valid response from clangd.
2024-04-04 21:54:14 +02:00
1406052c06
feat: lots more work on LSP support (still WIP)
2024-04-02 23:07:27 +02:00