3eba052c15
fix: shutdown race if project_manager does not exit faster than tui
2024-04-15 21:29:27 +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
55e99fe958
refactor: replace ArrayList with plain alloc for Button.label
2024-04-15 19:53:11 +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
1d9155864d
fix: prevent mini/overlay modes from stomping each other
...
Also, allow cancelling modes by clicking the flow button.
2024-04-11 18:35:33 +02:00
137947355d
feat: move session restore file to cache directory
2024-04-11 18:33:49 +02:00
2416251fc3
feat: generate hover events during drag operations
2024-04-11 18:32:57 +02:00
3a2d91de7b
docs: add gutter_mode_next command to docs
2024-04-10 22:14:48 +02:00
9aea1f54f5
feat: allow runtime changing of the gutter mode
2024-04-10 22:12:19 +02:00
f61701150d
refactor: make filestate a button
2024-04-10 20:34:08 +02:00
30d1ac9e8c
feat: make linenumstate a button that enters goto mode when clicked
2024-04-10 19:28:58 +02:00
28ab5643d9
fix: use theme background style for home screen
2024-04-10 18:40:33 +02:00
0053b80d81
refactor: improve button widget api
2024-04-10 18:39:47 +02:00
53554be4b0
refactor: drop dead send warnings in tui log
2024-04-10 18:37:42 +02:00
9caf1d8947
fix: build on macos
2024-04-10 18:36:51 +02:00
9c064eb20c
feat: add jump_mode key bindings to vim modes
2024-04-09 23:09:57 +02:00
31bef39934
feat: add goto_definition key binding to vim modes
2024-04-09 23:05:34 +02:00
46eb88aaa4
feat: add open recent mode key binding to vim modes
2024-04-09 23:03:45 +02:00
053bf19110
feat: add move_left_vim and move_right_vim commands
...
closes #3
2024-04-09 23:01:16 +02:00
b8261f924e
fix: stop selection from running off the bottom of the recent files list
2024-04-09 22:41:26 +02:00
48fc8a968c
fix: store jump location source before navigating to another file
2024-04-09 22:32:46 +02:00
390a56714a
fix: incorrect offset on goto mode cancel
2024-04-09 22:27:33 +02:00
b3f2a8465d
feat: exit open recent mode on Ctrl-C or Ctrl-G
2024-04-09 22:26:53 +02:00
cbf87ec7c0
feat: shorten long paths in recent file list
2024-04-09 22:22:06 +02:00
cbe656fe44
fix: use 1 based offsets in get_mru_position
2024-04-09 21:51:17 +02:00
3e97f6627c
feat: don't center screen when navigation destination is on-screen
2024-04-09 21:45:54 +02:00
31561242db
feat: update mru list when navigating and store last file position
2024-04-09 21:44:40 +02:00
792140869d
docs: add note about quick select
2024-04-09 21:39:23 +02:00
4b2c033c5d
feat: add mouse bindings for jump_back/forward and goto_definition
2024-04-09 18:25:41 +02:00
695b0dbff5
feat: add cross file location history support
...
Also, this improves the location history storage to be simpler and provide much
more intuitive navigation.
2024-04-09 18:15:53 +02:00
2fafceab83
fix: crash while rendering chunks longer than 4096 bytes (long lines)
...
Proof that I was a Zig noob not too long ago. The defer of course runs
immediately.
2024-04-09 18:12:22 +02:00
e236f3f3c6
feat: highlight targetSelectionRange if privided in textDocument/definition response
2024-04-09 18:10:12 +02:00
1c01773a09
fix: shutdown project_manager before restart
2024-04-08 22:28:08 +02:00
184755a06f
refactor: reduce idle frame count to 1
2024-04-08 22:27:42 +02:00
29f31f122c
fix: don't reload when navigating locally in the current file
2024-04-08 22:26:25 +02:00
78c738a644
feat: add cli option to write traces to file
2024-04-08 22:25:30 +02:00
5d1fcc3b48
build: update thespian
2024-04-08 22:03:15 +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
7e17f713e7
build: update flow-syntax
2024-04-05 21:31:14 +02:00
969b39dd8f
build: update thespian
2024-04-05 21:30:54 +02:00
2f3dbacd59
build: update thespian
2024-04-05 17:30:59 +02:00
98104658b4
feat: lots more work on LSP support (WIP)
...
First valid response from clangd.
2024-04-04 21:54:14 +02:00
de13780a3c
build: update thespian
2024-04-04 21:48:04 +02:00
1406052c06
feat: lots more work on LSP support (still WIP)
2024-04-02 23:07:27 +02:00
f460490510
fix: prevent minilog getting stuck rendering long messages
2024-04-01 22:16:30 +02:00
e2c565dfee
fix: crash on shutdown from dangling logger references
2024-04-01 22:02:08 +02:00
823d066a58
fix: track modifier state and generate events if it is out of sync
...
This prevents fast scroll and other modifier functions getting stuck if events
are lost due to focus change.
2024-04-01 21:37:35 +02:00