Commit graph

183 commits

Author SHA1 Message Date
1600bf6406
fix: task_palette should use the correct mode hints for width calculations 2025-11-17 20:24:24 +01:00
Igor Támara
6e9e00e142 feat: add symbol palette
The palette intentionally shows narrow to give more prevalence to file
contents and see the context.
2025-11-16 22:56:36 +01:00
e6f0953732
feat: add path segment completion to open_recent palette 2025-11-11 13:26:48 +01:00
6502989fb8
fix: task palette width calculation properly this time 2025-11-10 16:39:45 +01:00
e5d78c95a5
feat: split and navigate on shift+enter in find_file 2025-11-06 19:23:15 +01:00
05a551b5b4
fix: match offset in task_palette 2025-11-06 12:22:27 +01:00
7019d56142
fix: un-cramp empty task list 2025-11-06 12:17:58 +01:00
477e232f19
fix: add back missing space to clipboard palette hints 2025-11-05 20:38:24 +01:00
15b600b570
fix: clipboard_palette does not paste the selected item 2025-11-04 11:42:50 +01:00
4d375d2d9b
feat: add support for groups in clipboard history
This introduces the concept of clipboard history groups. A group is created
for each high level clipboard operation. Cut, copy, etc. Single cursor
operations will create a group with just one entry. Multi-cursor operations
on the other hand will create groups with multiple clipboard history entries.
This makes for very powerful clipboard history integration with multi-cursor
support.

This commit also adds the ability to apply integer parmeters to the paste
command to select a clipboard group to paste.

Also, pasting from the system clipboard will detect if the system clipboard is
equivalent to the top most clipboard group, and if so use the group instead.
This allows much better multi-cursor support when using the system copy & paste
commands.
2025-10-31 22:53:50 +01:00
61de5d89d7
refactor: rename open_changed_files to show_vcs_status
This fits a bit better as we will add commands to do more than just
open the files in the status palette.
2025-10-28 22:21:16 +01:00
Igor Támara
b6010767f2 feat: Add open changed files palette to commands
The palette shows modified and new files for the current project
allowing to open one by one
2025-10-28 22:20:36 +01:00
46def038bd
feat: trip leading whitespace from clipboard history palette display 2025-10-13 20:27:43 +02:00
6c6a8cee32
feat: add byte or line count hint to clipboard history palette 2025-10-13 20:21:05 +02:00
634a18cb56
feat: add clipboard history palette 2025-10-13 19:50:04 +02:00
25a719382f
fix: store button click locations as signed values 2025-10-10 16:05:50 +02:00
ce87dcfa2b
refactor: pass relative click position to button click handlers
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
9ea32d46e2
feat: preparations for additionalTextEdits support in completions 2025-10-02 22:51:01 +02:00
6ec8aae94a
fix: translate byte offsets to columns when applying completions 2025-10-02 16:27:47 +02:00
6ae176a8ac
refactor: add selection_pos_to_width and get_replace_selection functions 2025-10-02 16:27:16 +02:00
778907c513
fix: ignore empty replacement selections for completion 2025-10-02 15:00:00 +02:00
b1e5b2f80f
fix: never set completion selection to an empty range 2025-10-01 22:02:21 +02:00
b02f096fef
feat: set the initial completion query based on the cursor position 2025-10-01 21:55:12 +02:00
74b011cf7e
feat: add support for setting the initial query value in palettes 2025-10-01 21:54:46 +02:00
03c82999b8
feat: select replacement range during completion 2025-10-01 21:28:32 +02:00
3901d0cce5
feat: add support for state values in palettes 2025-10-01 20:50:32 +02:00
720bb9515f
Merge branch 'master' into zig-0.15 2025-09-25 22:04:17 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
6c385bc35a
fix: missing padding in buffer_palette 2025-09-25 14:55:57 +02:00
9bdc3e0a0a
fix: handle completion items with no type icon
superhtml fix
2025-09-13 20:06:44 +02:00
d53a24a1d2
fix: make open_recent_projects run async 2025-08-18 14:47:01 +02:00
cdd1e09069
feat: add support for loading palettes with arguments 2025-08-18 14:42:34 +02:00
057a9d60cd
feat: add completion palette 2025-08-15 23:30:54 +02:00
62b8493b93
fix: correct match offsets when show_fileicons is off 2025-08-14 16:30:46 +02:00
0c19cbd82d
feat: persist widget style changes 2025-08-14 15:55:09 +02:00
a27c212461
feat: add widget style switching command to open_recent palette 2025-08-13 22:53:26 +02:00
c67c0b0c94
feat: add style switching command to palette (alt+f9) 2025-08-13 22:35:58 +02:00
d872e2e734
feat: add palette_menu_delete_item hint to task_palette 2025-08-13 19:20:04 +02:00
8107a0d2b8
feat: display command hints in task_palette 2025-08-13 19:19:45 +02:00
5f77a48afe
feat: add description and icon for palette_menu_delete_item command 2025-08-13 19:16:32 +02:00
cea8edecb9
feat: rename select_task to run_task and add a string parameter 2025-08-13 18:03:17 +02:00
c640c3f04b
fix: task_palette should not pass palette entry text to add_task 2025-08-13 17:52:23 +02:00
12f6b884df
feat: add icon in open recent palette 2025-08-13 17:36:15 +02:00
5294ace5da
feat: add icon in file type palette 2025-08-13 17:35:42 +02:00
3f61e46dfe
feat: add icon in buffer palette 2025-08-13 17:35:22 +02:00
92b1354d4d
feat: add support for input box icons 2025-08-13 17:35:04 +02:00
4d2c7d8a8c
refactor: unify list pointer rendering 2025-08-13 17:34:38 +02:00
c50ab782ec
refactor: share file item menu rendering 2025-08-13 14:44:03 +02:00
f3296482d0
refactor: unify file icon rendering 2025-08-13 14:43:30 +02:00