7ecdc38fdf
feat(shell): add shell_execute_stream command and use it for tasks
2025-01-25 21:48:46 +01:00
5dd47f7248
feat(tabs): complete tabs widget and next_/previous_tabs
2025-01-24 23:26:41 +01:00
5e6fc6a932
feat(buffers): use buffer_manager to select most recent files
...
And remove obsolete file_stack.
2025-01-24 23:22:31 +01:00
1d947ab499
refactor: improve capsulation and safety of tui module public api
2025-01-23 16:45:04 +01:00
4145460012
refactor: simplify Plane/Widget usage
2025-01-23 16:12:56 +01:00
0a632416a4
feat(buffers): add delete_buffer command and keybinding for buffer_palette
2025-01-22 22:23:56 +01:00
aa1e0674cc
feat(buffers): move buffer lifetime management to new Buffer.Manager module
2025-01-21 21:42:36 +01:00
9f29853cd6
Merge pull request #149 from travisstaloch/lsp-rename
...
implement lsp rename
2025-01-18 23:33:25 +01:00
4277f0f57b
feat(lsp): rename_symbol: add support for LSPs that do send document updates for renames
2025-01-18 20:34:14 +01:00
48efa5536f
fix: use after free on fast project switching
2025-01-17 21:13:47 +01:00
155c1f663d
feat(lsp): rename_symbol: treat out-of-file edits as references
2025-01-16 23:02:52 +01:00
a449e0ec97
feat(lsp): rename_symbol: add cursors at rename points for interactive rename
2025-01-16 22:23:03 +01:00
e597fee2e5
feat(lsp): rename_symbol: decode and normalize file uri
2025-01-16 22:22:34 +01:00
Travis Staloch
bfdeffc70f
lsp-rename: minor cosmetic cleanups
2025-01-16 22:04:38 +01:00
Travis Staloch
1c37de6c29
feat(lsp): buffer renames in order to send a single, atomic message
2025-01-16 22:04:38 +01:00
Travis Staloch
1fd4455adb
feat(lsp): initial support for textDocument/rename
...
flow keybinds: changes f2 from toggle_input_mode to rename_symbol and
moves toggle_input_mode command to ctrl+shift+f2 (since ctrl+f2 is
already bound to insert_command_name)
the replacement text is hard coded for now. i've checked that replace
works with zls and pylsp which send WorkspaceEdit response messages in
different shapes - zls sends shape `{"changes": {}}` while pylsp sends
`{"documentChanges": []}`.
currently the 'rename_symbol_item' commands are sent one at a time.
however they should be buffered and be performed between one
buf_for_update, update_buf pair. this will be addressed in a follow up.
2025-01-16 22:04:35 +01:00
dcddd373b5
feat(find_in_files): clear file list and log if no matches are found
2025-01-15 14:23:30 +01:00
9d6b760f03
feat: remove single trailing new line in shell_execute_insert
2025-01-15 11:26:17 +01:00
6530a7a51c
feat(win32 gui): add reset_fontsize and rest_fontface commands
2025-01-14 19:54:51 +01:00
7d138a742c
feat(win32 gui): add set_fontface and set_fontsize commands
2025-01-10 23:10:59 +01:00
5300e3346d
feat(win32 gui): add adjust_fontsize command to zoom in/out
2025-01-09 20:08:12 +01:00
caeb3fc338
feat(config): migrate to a simpler config file format
2025-01-08 22:14:29 +01:00
9e4e81eb0d
feat(win32 gui): read fontface and size from gui_config
2025-01-08 15:57:38 +01:00
eaa7ad87b7
feat(win32 gui): add gui_config.json config file
2025-01-08 14:36:43 +01:00
e1f0a4d074
feat: add sample binding of shell_execute_log
2025-01-07 23:08:24 +01:00
cfc99b61dc
feat: add commands to execute shell tasks from keybindings
...
This is the first part of #67 .
2025-01-07 22:45:29 +01:00
5ac80f0b6f
feat(win32 gui): add clipboard paste support
2025-01-04 21:48:47 +01:00
233e881f95
feat: add support for pasting from the native windows clipboard
...
This give us OSC52 equivalent support on windows.
closes #95
2024-12-24 14:44:12 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
...
closes : #85
2024-12-20 20:16:50 +01:00
69dda065c8
fix: don't leak loggers in mainview
2024-12-12 17:25:47 +01:00
a5849a7dab
refactor: eliminate generic InvalidArgument errors
...
InvalidArgument is too generic and makes tracking the source of the
error potentially difficult.
2024-12-12 17:02:11 +01:00
8dea591341
feat: add simple add_split command (wip)
2024-12-11 21:24:00 +01:00
d6ea615283
refactor: store mainview views in a WidgetList
2024-12-11 21:19:22 +01:00
038ed4da2b
refactor: simplify getting the active editor and selection
2024-12-11 20:54:53 +01:00
4b3904d5f2
feat: add find_in_files_query command
2024-12-11 20:50:05 +01:00
fac6e37d00
feat: reload home screen on keybind namespace changes
2024-12-05 20:13:41 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters
2024-11-21 17:34:11 +01:00
ed843a9baf
fix: move system_paste command to mainview so it can be used when on editor is open
2024-11-17 22:01:10 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types
2024-11-15 21:16:31 +01:00
d0de867d91
fix: set project correctly on restart
2024-10-28 19:58:47 +01:00
16c5471126
refactor: move command and EventHandler out of the tui module
2024-10-25 22:39:04 +02:00
3b4c81c706
feat: add open_previous_file command
...
closes #56
2024-10-24 18:27:30 +02:00
d33d5dcac2
refactor: clean-up mainview.show_file_async_and_free usage
2024-10-24 18:25:46 +02:00
dc1d0146be
fix: don't show info view panel on empty hover response
2024-10-22 19:06:34 +02:00
55fb6d29a0
feat: allow closing the panel view by dragging down
2024-10-09 21:24:58 +02:00
d75dcd7b84
feat: add metadata to all commands
2024-09-17 23:00:53 +02:00
07e3df4cd9
fix: add missing need_render() call in add_info_content()
2024-09-11 17:14:02 +02:00
bf3fe5f2ba
refactor: run zigimports
...
closes : #38
2024-09-10 22:25:54 +02:00
97501c4ec7
feat: hightlight returned range in LSP hover responses
2024-09-10 21:47:13 +02:00
539b1fd37d
feat: add editor hover command
2024-09-10 20:23:34 +02:00