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
6ece4c14b5
fix: language server did_change diff calculation
2024-05-08 23:56:00 +02:00
ef57339258
feat: add support for language server window/showMessage notifications
2024-04-20 23:47:34 +02:00
e41c2d34f7
feat: render diagnostics (part 1)
2024-04-17 23:26:19 +02:00
cc607089df
feat: process textDocument/publishDiagnostics notifications from language server
2024-04-16 23:22:47 +02:00
07571ef363
refactor: load persisted projects before file system scan
...
This should improve usability for very large projects.
2024-04-15 23:07:03 +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
49d6ee94fc
refactor: simplify and clean-up navgate command
...
This should also prevent get_mru_position and location_jump from stomping
on each other.
2024-04-15 19:50:11 +02:00
0f5f41751e
feat: add fuzzy matching to recent files list with fuzzig
...
Many thanks to @fjebaker
2024-04-15 18:59:23 +02:00
5375e1449e
feat: send didChange, didSave and didClose events to language server
2024-04-13 02:50:02 +02:00
1288021682
feat: save and restore file MRU state per project
2024-04-11 18:36:54 +02:00
9caf1d8947
fix: build on macos
2024-04-10 18:36:51 +02:00
cbe656fe44
fix: use 1 based offsets in get_mru_position
2024-04-09 21:51:17 +02:00
31561242db
feat: update mru list when navigating and store last file position
2024-04-09 21:44:40 +02:00
e236f3f3c6
feat: highlight targetSelectionRange if privided in textDocument/definition response
2024-04-09 18:10:12 +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
2e8fd58ba5
feat: WIP start work on goto_definition LSP command
2024-03-31 22:41:20 +02:00