Commit graph

59 commits

Author SHA1 Message Date
3b4c81c706
feat: add open_previous_file command
closes #56
2024-10-24 18:27:30 +02:00
b1362814db
fix: catch more errors in file browser 2024-10-14 19:27:38 +02:00
e752e8a405
fix: avoid spurious "switched to project" messages 2024-10-14 17:59:01 +02:00
dc25a0ea14
refactor: improve handling and reporting of project manager and lsp errors 2024-10-14 17:56:39 +02:00
0d198a1440
refactor: sort filtered_dirs entries 2024-10-14 12:36:43 +02:00
a2aca96f04
feat: add build directory to filtered_dirs 2024-10-14 12:36:12 +02:00
xdBronch
e9a2ae79c4
minor tweaks to walker
its generally preferred to use *Unmanaged data structures if youre
storing multiple so you dont have redundant allocators
2024-10-13 15:59:27 +02:00
xdBronch
64056ad045
add jujutsu to ignored files
[jujutsu](https://github.com/martinvonz/jj) is an alternative to git
2024-10-13 15:59:21 +02:00
593b202b16
feat: add support for CRLF EOL mode 2024-09-25 20:06:06 +02:00
ee7fb21cee
fix: add missing error set 2024-09-19 22:03:27 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager 2024-09-19 21:54:18 +02:00
c894ae6dea
feat: add support for LSP hover requests 2024-09-10 20:22:31 +02:00
b970031a7f
feat: don't treat unknown LSP notifications as errors 2024-09-05 22:15:07 +02:00
2060588a28
feat: respond to client/registerCapability requests with a null result 2024-09-05 22:15:07 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
16b28c0254
feat: add project_manager.request_path_files 2024-08-29 21:35:25 +02:00
c348aa9656
fix: use correct DEADSEND matching in project_manager 2024-08-29 16:53:34 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
xdBronch
9e59e808ba
add more goto commands 2024-08-25 15:03:23 +02:00
bd27db46d1 feat: open most recent file on project switch 2024-08-19 22:44:57 +02:00
849ef606a7 feat: add a log message when switching projects 2024-08-19 21:12:44 +02:00
231e4ccb88 feat: add open_recent_project and change_project commands 2024-08-19 20:35:05 +02:00
2a735cee5c fix: sprinkle @intCast to fix 32 bit arm builds 2024-08-16 22:02:53 +02:00
78489e31f6 feat: add find all references LSP command 2024-08-16 00:02:42 +02:00
8abc9c0ee1 fix(windows): encode colons in project state file path 2024-08-08 22:27:58 +02:00
73f7025277 feat(lsp): add support for window/logMessage notfications 2024-07-02 12:29:18 +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
1533ec2993 feat: allow opening project directories on the command line 2024-06-23 21:37:37 +02:00
692e04b6a8 refactor: re-work how projects are opened
Prep for opening directories on the command line.
2024-06-23 21:37:37 +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
btipling
42330ba82c std.rand renamed to std.Random
This now builds on version 0.14.0-dev.111+451550e86 on windows
2024-06-23 15:22:22 +02:00
e8c59b36d3 fix(lsp): improve error reporting on LSP early exit 2024-06-20 10:06:47 +02:00
2338489da3 build: update to latest zig and libvaxis and remove notcurses dependency 2024-06-04 23:14:43 +02:00
c79c684969 feat: minor improvements to LSP error handling 2024-04-21 00:02:24 +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
e3b8d513ea fix: log project_manager errors 2024-04-17 18:34:44 +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
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
31561242db feat: update mru list when navigating and store last file position 2024-04-09 21:44:40 +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
1406052c06 feat: lots more work on LSP support (still WIP) 2024-04-02 23:07:27 +02:00
e2c565dfee fix: crash on shutdown from dangling logger references 2024-04-01 22:02:08 +02:00
2e8fd58ba5 feat: WIP start work on goto_definition LSP command 2024-03-31 22:41:20 +02:00
82586bbb0c refactor: disable spammy project manager log message 2024-03-31 21:58:30 +02:00