c3cda5b7fe
build: update thespian to use separate cbor package
2025-03-26 20:41:44 +01:00
6d58ecb324
feat: make LSPs fully async
2025-03-24 22:07:38 +01:00
db0bf4571e
fix: get_mru_position should not hang if file not found in project
2025-02-23 21:54:28 +01:00
30de4ddcc6
fix: row & column in get_mru_position
2025-02-22 22:20:11 +01:00
2a76da6cf6
feat: make mru file position lookup synchronous
2025-02-22 22:12:21 +01:00
5f7b28db5f
refactor: store file positions in project in a struct
2025-02-22 22:11:53 +01:00
910331868e
feat(project): add --no-persist
to prevent new project persisting
2025-02-09 21:46:51 +01:00
26e91262ed
feat(tasks): trace project task updates
2025-01-26 21:06:52 +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
42bc301426
fix(win32 gui): fix windows build broken by rename_symbol
2025-01-19 14:03:38 +01:00
f659fcf586
feat(lsp): rename_symbol: add checks to file uri decoding
2025-01-16 23:40:10 +01:00
00efee6c02
fix(lsp): rename_symbol: fix error.InvalidMessage on multifile responses
2025-01-16 23:24:48 +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
286316b494
feat: process completion response messages and send results to editor
2024-12-18 21:57:04 +01:00
502710cadb
fix: disable markdown in LSP responses
...
Until we have a markdown renderer...
2024-12-18 21:46:36 +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
d60ad49f84
feat: improve did_change performance with an arena
2024-10-29 21:30:19 +01:00
d05fbcae37
feat: add more tracy zones to project_manager.did_change
2024-10-29 20:58:22 +01:00
3b4c81c706
feat: add open_previous_file command
...
closes #56
2024-10-24 18:27:30 +02:00
2c3e8179dc
fix: don't claim to support inlayHint and codeLens refresh in lsp init
...
This avoids noise when running rust-analyser.
2024-10-14 17:57:19 +02:00
dc25a0ea14
refactor: improve handling and reporting of project manager and lsp errors
2024-10-14 17:56:39 +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
97501c4ec7
feat: hightlight returned range in LSP hover responses
2024-09-10 21:47:13 +02:00
d5494c492b
feat: reset info view content on empty hover response
2024-09-10 21:21:33 +02:00
c894ae6dea
feat: add support for LSP hover requests
2024-09-10 20:22:31 +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
267ccdd069
fix: do not restore project MRU history for files that don't exist
2024-08-30 22:03:18 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y
2024-08-29 13:13:45 +02:00
32f00daf76
fix: disable some LSP requests that we don't actually support
2024-08-27 19:18:20 +02:00
282d673026
feat: display location list if LSP goto requests return multiple results
...
Also, refactor LSP goto commands to use a shared implementation.
2024-08-25 15:20:10 +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
231e4ccb88
feat: add open_recent_project and change_project commands
2024-08-19 20:35:05 +02:00
ea31e414ee
refactor: clean-up command naming
2024-08-18 17:59:28 +02:00
4127cf8bcf
feat: show diagnostics in the file list view if they refer to another file
2024-08-18 16:21:38 +02:00
f10559c635
feat: add details to find references results file list view
2024-08-17 23:26:46 +02:00
78489e31f6
feat: add find all references LSP command
2024-08-16 00:02:42 +02:00
2b90fe66e8
fix(windows): translate LSP paths back to standard windows paths
2024-08-08 23:07:36 +02:00
5eeeb837ad
fix(windows): remove leading slash from LSP URIs on windows
2024-08-08 22:26:37 +02:00