5fc2247bc3
Merge branch 'master' into zig-0.14
2025-02-13 12:08:54 +01:00
47c7b37968
feat: don't ask for file type in create_new_file if we have a language override
2025-02-13 12:03:27 +01:00
43b14d9147
Merge branch 'master' into zig-0.14
2025-02-09 21:49:45 +01:00
88ca1cd343
feat(project): add close_project
command bound to del
in recent projects list
2025-02-09 20:39:32 +01:00
9c01402f15
fix: partially backport zig-0.14 command.Metadata change
2025-02-06 21:18:07 +01:00
c186264eac
feat: add configuration and command to toggle display of inline diagnostics
2025-02-06 21:13:35 +01:00
b3a10d7346
feat: add line number styles
2025-02-06 21:13:14 +01:00
1d59d1e46a
feat: add configuration and command to toggle display of inline diagnostics
2025-02-06 10:55:42 +01:00
8964a361a7
feat: add line number styles
2025-02-05 22:27:58 +01:00
53045123c6
build: update to zig 0.14.0-dev.3039
2025-02-04 22:59:18 +01:00
56e6412837
feat: add open_version_info command
2025-01-30 14:51:36 +01:00
f9c83ce02a
fix(tabs): defer free_config in open_tabs_style_config
2025-01-30 14:11:33 +01:00
4cd06e34fb
feat(tabs): add open_tabs_style_config command
2025-01-30 14:06:59 +01:00
8eb536b5b9
feat: add built-in font test page
2025-01-30 12:14:58 +01:00
b45b5910ee
feat(buffers): save and restore editor metadata on buffer switch
2025-01-29 20:56:56 +01:00
b6d412caca
refactor: minor clean-up in delete_buffer command
2025-01-27 19:54:49 +01:00
17f6c6329a
refactor: prettify help page name
2025-01-27 19:54:04 +01:00
a706e0b976
feat: allow setting the file type in create_scratch_buffer command
...
Also, fix args forwarding.
2025-01-27 19:52:55 +01:00
404ba8bb0e
feat: add create_new_file command
...
closes #93
2025-01-27 19:49:49 +01:00
939537ed84
feat(buffers): add support for ephemeral buffers
...
Ephemeral buffers are not hidden and kept when closed. Ephemeral buffers
can be turned into regular buffers by saving them with save_as.
2025-01-27 18:59:13 +01:00
8062923068
fix(tasks): make sure we render after updating task output
2025-01-27 12:11:37 +01:00
304a62dfdc
feat(tasks): mark task buffers as clean when task exits
2025-01-26 21:06:52 +01:00
a28f1db4c7
feat(tasks): stream task output to buffer in the background
2025-01-26 21:06:52 +01:00
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