04ee1257b8
refactor: use file_type_config.guess_file_type to get icons
...
Also, normalize folders to use the same icons as in other places in flow.
2026-02-13 22:58:29 +01:00
Miguel Granero
79fc70427c
feat: add project file explorer widget (palette)
2026-02-13 13:26:12 +01:00
21dc4477f7
feat: add alternate select (shift+enter) to symbols palette that selects the symbol
2026-02-06 16:23:30 +01:00
d2081e8d68
feat: add configuration option dropdown_limit to limit completion dropdown size
2026-02-05 22:25:45 +01:00
fa58e09a18
feat: add info box mode support to completion_dropdown
2026-02-05 16:49:34 +01:00
69f5448f03
refactor: remove unused dropdown.on_render_menu
...
We always replace this method anyway, so this is all dead code.
2026-02-05 14:56:20 +01:00
ee6095ecee
fix: do not cancel completion if the view size changes
...
Only if the view position changes.
2026-02-04 18:30:02 +01:00
e26d86eca3
fix: cancel completion on update in automatic completion mode
...
If completion is automatically triggered (the default), then it also makes
sense to automatically cancel completions in situations where a completion
update would be required and we are *not* expected to automatically
re-trigger.
2026-02-04 16:43:43 +01:00
d974d510b1
refactor: rename is_non_word_char
2026-02-04 10:09:16 +01:00
75fa4408fa
fix: guess completion insertion range by back scanning for trigger chars or word breaks
...
closes #484
2026-02-03 19:37:51 +01:00
59de78723e
refactor: import Selection directly into completion_dropdown
2026-02-03 19:26:41 +01:00
87e0e06aaf
fix: refresh hover when menus modify their contents
...
This fixes hover and scroll in palettes and dropdowns.
close #486
2026-02-03 18:45:44 +01:00
d5166e2f68
fix: override cursor focus rendering during dropdown completion
2026-02-03 16:54:00 +01:00
5cf52171f2
fix: use word-at-cursor for inserting completion if LSP does not provide a range
...
This is not perfect in every situation, but seems to be enough to use basic
completion with LSPs that do not send full insert/replace range
information.
closes #475 , #484
2026-02-03 16:15:42 +01:00
d298e1ed4c
fix: don't cancel completions in update_completion
...
This is not needed anymore.
2026-02-03 15:17:24 +01:00
2296930f4d
fix: re-trigger completion if we run out of suggestion matches
2026-02-03 15:15:58 +01:00
b14ff8ac52
refactor: only count scored dropdown entries as matches
2026-02-03 11:37:06 +01:00
41c1e54cac
refactor: add match_count to overlay/dropdown
2026-02-02 21:56:55 +01:00
a3ea183ba1
fix: completion dropdown must dupe completion data
...
Because it might be erased by the next completion response.
closes #477
2026-02-01 20:14:16 +01:00
99e3e6aeae
fix: update_completion should also update completion query text
...
Also, resize dropdown based on new completion suggestions.
2026-02-01 17:57:32 +01:00
97745a992a
fix: refresh inital completion cursor position on re-triggers
2026-02-01 17:56:47 +01:00
e45f2ced71
fix: do not constantly re-trigger completion when already completing
2026-02-01 17:56:07 +01:00
485f06f576
refactor: split up completion_dropdown.handle_event function
2026-02-01 17:02:13 +01:00
f65082bea9
fix: make sure completion replacment always reaches at least to the cursor
...
Seems like sometimes LSPs may lag and not include the last entered char in
the selection.
2026-01-30 14:48:02 +01:00
7a3b8e3fce
fix: remove completion de-duplication
...
Now that requests cannot overlap any duplicates are actually from the LSP.
Deduplication was not working correctly for some LSPs so we just remove it
now.
2026-01-30 14:37:13 +01:00
8c8388c0c2
refactor: simplify completion selection functions
2026-01-30 14:20:06 +01:00
96137de780
refactor: update completions only if query has changed
2026-01-30 13:59:34 +01:00
a21db7b220
refactor: cancel completion if lsp returns no suggestions
2026-01-30 13:58:00 +01:00
29ac7849c7
refactor: move get_replacement_selection to completion_dropdown
2026-01-30 13:55:23 +01:00
d4eb0d046c
refactor: fix completion updates
2026-01-30 13:22:47 +01:00
b314a4c8c0
refactor: just sort completion list instead of filtering it
...
Also, fix sorting order of equally ranked entries.
2026-01-30 11:22:49 +01:00
518af3ab45
refactor: major re-work of completion to edit via buffer instead of query
...
This means completion no longer changes the buffer in anyway until a
completion menu entry is actually selected. This simplifies (or eliminates)
many edge cases and greatly improves multi-cursor support.
2026-01-30 11:20:48 +01:00
94aa462a8d
refactor: allow updating of completions
2026-01-29 20:59:49 +01:00
38e681f7bf
fix: apply completion de-duplication fix to completion_palette too
2026-01-29 16:01:20 +01:00
721370d1ba
fix: completion de-duplication should not require LSP to send sort text
...
fixes #472
2026-01-28 21:38:59 +01:00
42eb56493c
fix: better support multicursor completion
...
closes #467
2026-01-27 22:21:49 +01:00
3402a54a2e
fix: don't remove secondary cursors when cancelling dropdown completion
2026-01-26 21:41:29 +01:00
68b3fe1624
fix: deduplicate completion results
...
Some LSPs may return duplicate results for some queries, so we no
force de-duplication when loading the completion palettes.
closes #469
2026-01-26 12:36:11 +01:00
c334a0e1ee
fix: force normalization of all paths on windows
...
closes #442
2026-01-22 17:33:10 +01:00
5438f19015
feat: add alternate select (open in split) to find_in_files mode
2026-01-22 13:37:40 +01:00
Danylo Kondratiev
6cff13f74e
feat: [helix] add switch_to_lowercase
2026-01-22 11:42:49 +01:00
Danylo Kondratiev
9dcb5ef978
refactor: replace select_char_if_no_selection with .enable_selection()
2026-01-22 11:42:49 +01:00
d0abaaee2a
refactor: move completion replacement logic to editor
2026-01-21 17:35:09 +01:00
331538de36
fix: detection of case in find mode should use case folding
...
It was using is_lowercase, which only returns true for lowercase
alpha characters and not other caseless symbols line numeric digits.
Now we check that case_fold is a no-op instead. This has semantics
that better match user expectations as case folding is also used in
the actual search.
closes #460
2026-01-21 10:13:58 +01:00
8cfab31104
refactor: add tracing for update_hover, clear_hover_focus and refresh_hover
2026-01-15 17:53:12 +01:00
c3cf5ea02f
refactor: add source location tracing for need_render calls
2026-01-15 17:51:38 +01:00
65f65842a2
feat: open_file in split with shift+enter
2026-01-14 21:39:34 +01:00
43dca7e2e8
refactor: add file_browser alternate select mode
2026-01-14 21:39:28 +01:00
ea2b2f7b19
feat: navigate_split_vertical on shift+enter in buffer palette
2026-01-14 17:47:46 +01:00
4273ab790c
feat: cancel inline completion with backspace
...
closes #447
2026-01-12 19:33:37 +01:00