Commit graph

80 commits

Author SHA1 Message Date
2b90fe66e8 fix(windows): translate LSP paths back to standard windows paths 2024-08-08 23:07:36 +02:00
5eeeb837ad fix(windows): remove leading slash from LSP URIs on windows 2024-08-08 22:26:37 +02:00
cbe785b967 fix(windows): use os native path separator when encoding LSP URIs 2024-08-08 22:25:39 +02:00
9d9d9388b9 feat(open_recent): always size open recent file list to longest known file path 2024-08-08 21:37:16 +02:00
4b694d4f0f fix(windows): use std.fs.path.isAbsolute in Project.make_URI 2024-07-09 19:26:18 +02:00
f9bbc7f582 feat(LSP): add some logging of LSP start/stop 2024-07-08 22:41:34 +02:00
4e5fbf479d fix(LSP): don't append absolute paths to project director in Project.make_URI 2024-07-08 21:53:18 +02:00
6d44081fa2 feat: add fallbacks for LSPs that send incomplete diagnostics
Yes, I'm lookin at you super...
2024-07-06 00:13:48 +02:00
1b6d4b350e fix(windows): unbreak recent files fuzzy find on windows 2024-06-27 20:15:24 +02:00
049fc3874a feat: fix match highlighting in simple_query_recent_files 2024-06-27 18:59:08 +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
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