Commit graph

2598 commits

Author SHA1 Message Date
eae28536d2
fix: windows build 2025-12-28 22:23:44 +01:00
85f5e5ab2e
fix: don't encode file URI colons 2025-12-28 22:21:45 +01:00
0e3f7c8c1c
fix: convert file paths returned by git on windows 2025-12-28 22:20:41 +01:00
865ec97c16
refactor: unify URI to file path decoding in one location 2025-12-28 22:12:03 +01:00
dc0d5dda80
fix: Never walk into AppData as that is likely not useful
closes #438
2025-12-28 22:02:22 +01:00
0a8a8188cd
fix: correctly encode file URIs in LSP requests
closes #436
2025-12-28 21:46:59 +01:00
1be41aff8b
fix: don't use with_selection_const in primary_drag
with_selection_const destroys the selection on movement errors.

closes #406
2025-12-28 21:20:58 +01:00
1685b3204c
fix: don't allow triple click to fail if select_line_at_cursor fails 2025-12-28 21:18:46 +01:00
3de4a47123
fix: don't allow double click to fail if select_word_at_cursor fails 2025-12-28 21:18:18 +01:00
e23d35b8c7
refactor: simplify Editor.select_word_at_cursor 2025-12-28 21:17:30 +01:00
38948cf492
fix: prefer "same file" error over "save as would overwrite unsaved changes" in save_as 2025-12-28 20:55:47 +01:00
7f88381eb0
refactor: prefer Selection.is_reversed to Cursor.right_of 2025-12-28 20:55:14 +01:00
182011059d
refactor: add explicit error types to Editor.buf_* functions 2025-12-28 20:54:24 +01:00
57458dff5d
fix: do not log unsupported LSP requests unless lsp_output is verbose
closes #434
2025-12-28 20:08:55 +01:00
3886427582
fix: unicode symbol rendering in symbol palette 2025-12-27 21:45:45 +01:00
6187bc5191
fix: typo in render_symbol 2025-12-27 21:04:10 +01:00
44b323d3dd
fix: symbol match rendering for unicode symbols 2025-12-26 23:51:11 +01:00
17bb0e96fe
refactor: remove log message from symbols request
This information is in the palette anyway.
2025-12-26 23:00:17 +01:00
34a41e72f8
fix: clamp cursor with panel offset before completion 2025-12-26 22:48:59 +01:00
fc50a4ebcd
refactor: add mainview.is_any_panel_view_showing and get_panel_height 2025-12-26 22:48:30 +01:00
6b4549f400
refactor: add View.clam_offset 2025-12-26 22:47:51 +01:00
3db934d6f9
feat: enable inline completion by default 2025-12-26 22:18:23 +01:00
2416e3ec69
feat: enable automatic completion by default 2025-12-26 21:54:50 +01:00
652354ec1b
fix: completion decode error in completions with additionalTextEdits
closes #429
2025-12-26 21:50:27 +01:00
637e91e45e
refactor: add detail to error.InvalidCompletionItemFieldName 2025-12-26 21:48:24 +01:00
37bb88b31c
fix: handle missing completion items in language server response 2025-12-26 20:28:35 +01:00
a623814dfb
fix: assume isComplete is true if not sent by language server 2025-12-26 20:27:04 +01:00
5bfc21430b
refactor: add a lot of detail to project manager error reporting 2025-12-26 20:23:55 +01:00
c472dc39f5
feat: add selenized theme 2025-12-26 16:53:10 +01:00
1308a14138
fix: crash on cancelling the change theme palette
This commit also cleans up the handling of the previous theme variable.
2025-12-26 16:50:38 +01:00
3dcdb64f83
feat: configure editor completion triggers from LSP info 2025-12-26 16:02:25 +01:00
fe2ea13024
refactor: store reported lsp trigger characters to main view lsp info 2025-12-26 14:25:19 +01:00
4f737e4019
refactor: add lsp_info to mainview 2025-12-26 14:25:03 +01:00
89dc5cce54
fix: do not log git cat-file errors 2025-12-26 12:49:03 +01:00
90aba421a2
refactor: read triggerCharacters from LSP init response 2025-12-24 15:07:11 +01:00
15942f19c7
feat: add command to enable auto completion 2025-12-24 00:48:04 +01:00
f875dba810
refactor: limit maximum size of detail and description in completion dropdown 2025-12-24 00:40:58 +01:00
b5d137666f
refactor: run triggers only on primary cursel 2025-12-24 00:10:56 +01:00
4f39bbbd41
refactor: add support for delete word during completion 2025-12-24 00:03:05 +01:00
911fc3160a
refactor: add support for backspace during completion 2025-12-23 23:53:14 +01:00
b2996cddbd
refactor: also run triggers during completion 2025-12-23 22:53:12 +01:00
6fce29f876
refactor: ignore late palette_menu_cancel calls 2025-12-23 22:37:08 +01:00
96676c738a
refactor: prevent duplicate triggers 2025-12-23 22:36:56 +01:00
ed027b5f6d
refactor: store trigger commands as strings
Because command IDs are not stable across restarts.
2025-12-23 22:36:16 +01:00
7d2e6a3b45
refactor: don't indirectly call cancel on completion dropdown select 2025-12-23 22:07:40 +01:00
a5d7e76897
refactor: remove modal background from dropdown 2025-12-23 22:03:56 +01:00
35d823d0b8
refactor: also cancel completion dropdown if view changes 2025-12-23 21:57:39 +01:00
d55b5b695b
refactor: avoid crash if dropdown has no space to be displayed 2025-12-23 21:45:38 +01:00
c4301c40d9
refactor: add dropdown_keybinds configuration option 2025-12-23 21:45:06 +01:00
d59dc65e6b
refactor: run current command queue to end before running triggers 2025-12-23 15:01:50 +01:00