fc3224137d
fix: remove blocking project manager call on startup
...
closes #214
The blocking call get_mru_postion to the project mananger may cause
a deadlock if the project manager has not started running yet.
2025-03-25 15:04:23 +01:00
a959563bc7
Merge branch 'master' into zig-0.14
2025-03-04 21:15:14 +01:00
d53a70736b
refactor: trigger project_manager startup on tui init
2025-03-04 19:01:44 +01:00
3ef51454cd
Merge branch 'master' into zig-0.14
2025-02-22 23:53:43 +01:00
2a76da6cf6
feat: make mru file position lookup synchronous
2025-02-22 22:12:21 +01:00
a0514a6f7e
build: update to zig-0.14.0-dev.3280
2025-02-21 22:17:28 +01:00
910331868e
feat(project): add --no-persist
to prevent new project persisting
2025-02-09 21:46:51 +01:00
88ca1cd343
feat(project): add close_project
command bound to del
in recent projects list
2025-02-09 20:39:32 +01:00
90192ddf3c
feat(project): indicate that a project is open in the recent projects list
2025-02-09 19:53:37 +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
0f6be55dbd
refactor: improve usefullness of trace-level 1
2025-01-26 17:01:33 +01:00
a1df51a16c
fix(project): don't abort early on project restore_state
...
And add traces for project write_state/restore_state.
2025-01-26 15:32:01 +01:00
2f7bee1bef
feat(task): add project tasks
2025-01-25 20:32:01 +01:00
155c1f663d
feat(lsp): rename_symbol: treat out-of-file edits as references
2025-01-16 23:02:52 +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
286316b494
feat: process completion response messages and send results to editor
2024-12-18 21:57:04 +01:00
047c9bbb99
feat: improve language server not found errors
2024-12-16 23:14:24 +01:00
271516f07f
fix: don't initialize lsp if we do not have an lsp command
2024-12-12 16:56:02 +01:00
d83d3a62bb
refactor: improve error codes return from LSP client
2024-12-12 16:55:23 +01:00
26694e9b08
feat: support LSPs that use string IDs
2024-11-14 15:38:43 +01:00
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