zed/assets/icons
Kirill Bulatov 28271a9a36
Display buffer/project search entries in the outline panel (#16589)
Prototypes a way to display new entities in the outline panel, making it
less outline.
The design is not final and might be adjusted, but the workflow seems to
be solid enough to keep and iron it out.

* Now, when any project search buffer is activated (multi buffer mode),
or buffer search is open (singleton buffer mode, but is available for
search usages multi buffer too — in that case buffer search overrides
multi buffer's contents display), outline panel displays all search
matches instead of the outline items.

Outline items are not displayed at all during those cases, unless the
buffer search is closed, or a new buffer gets opened, of an active
buffer search matches zero items.


https://github.com/user-attachments/assets/4a3e4faa-7f75-4522-96bb-3761872c753a


* For the multi buffer mode, search matches are grouped under
directories and files, same as outline items

![Screenshot 2024-08-21 at 14 55
01](https://github.com/user-attachments/assets/6dac75e4-be4e-4338-917b-37a32c285b71)


* For buffer search , search matches are displayed one under another


![image](https://github.com/user-attachments/assets/9efcff85-d4c7-4462-9ef5-f76b08e59f20)


For both cases, the entire match line is taken and rendered, with the
hover tooltip showing the line number.
So far it does not look very bad, but I am certain there are bad cases
with long lines and bad indents where it looks not optimal — this part
most probably will be redesigned after some trial.
Or, maybe, it's ok to leave the current state if the horizontal
scrollbar is added?

Clicking the item navigates to the item's position in the editor.
Search item lines are also possible to filter with the outline panel's
filter input.

* Inline panel is now possible to "pin" to track a currently active
editor, to display outlines/search results for that editor even if
another item is activated afterwards:


![image](https://github.com/user-attachments/assets/75fb78c3-0e5f-47b4-ba3a-485c71d7e342)

This is useful in combination with project search results display: now
it's possible to leave the search results pinned in the outline panel
and jump to every search result and back.

If the item the panel was pinned to gets closed, the panel gets back to
its regular state, showing outlines/search results for a currently
active editor.


Release Notes:

- Added a way to display buffer/project search entries in the outline
panel
2024-08-25 21:40:02 +03:00
..
file_icons Add support for .markdown extension (#13609) 2024-06-28 08:34:06 -04:00
ai.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
ai_anthropic.svg Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
ai_anthropic_hosted.svg Make providers more clear in model selector (#16480) 2024-08-19 13:38:19 -04:00
ai_google.svg Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
ai_ollama.svg Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
ai_open_ai.svg Update model selector (#15665) 2024-08-01 21:57:51 -04:00
ai_zed.svg Update model selector (#15665) 2024-08-01 21:57:51 -04:00
arrow_circle.svg
arrow_down.svg
arrow_down_from_line.svg Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
arrow_left.svg
arrow_right.svg
arrow_up.svg
arrow_up_from_line.svg Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
arrow_up_right.svg
at_sign.svg
backspace.svg
bell.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_dot.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_off.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_ring.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bolt.svg
book.svg Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
book_copy.svg Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
book_plus.svg Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
caret_down.svg
caret_up.svg
case_insensitive.svg
check.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
check_circle.svg
chevron_down.svg
chevron_down_small.svg Add REPL dropdown menu to toolbar (#14493) 2024-07-15 11:55:49 -07:00
chevron_left.svg
chevron_right.svg
chevron_up.svg
chevron_up_down.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
circle_check.svg
code.svg Iterate on Assistant 2 composer UI (#11306) 2024-05-02 13:01:21 -04:00
command.svg
context.svg Overhaul inline assistant (#12846) 2024-06-11 12:39:45 +02:00
control.svg
conversations.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
copilot.svg
copilot_disabled.svg
copilot_error.svg
copilot_init.svg
copy.svg
countdown_timer.svg Introduce recent files ambient context for assistant (#11791) 2024-05-14 13:48:36 +02:00
dash.svg
database_zap.svg Simplify logic & add UI affordances to show model cache status (#16395) 2024-08-19 12:06:14 -07:00
delete.svg
desktop.svg
disconnected.svg
download.svg Update assistant config UI (#15630) 2024-08-01 13:30:35 -04:00
ellipsis.svg
ellipsis_vertical.svg assistant: Add action footer and refine slash command popover (#16360) 2024-08-16 16:07:42 -03:00
error.svg
escape.svg
exit.svg
expand_vertical.svg Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
external_link.svg
eye.svg Add Markdown Preview Toggle (#15215) 2024-07-26 11:08:42 -04:00
feedback.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
file.svg
file_code.svg Add Markdown Preview Toggle (#15215) 2024-07-26 11:08:42 -04:00
file_text.svg Add Markdown Preview Toggle (#15215) 2024-07-26 11:08:42 -04:00
filter.svg
font.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
font_size.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
font_weight.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
generic_close.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
generic_maximize.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
generic_minimize.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
generic_restore.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
github.svg
hash.svg
history_rerun.svg tasks: Reorganize task modal (#11752) 2024-05-14 11:22:09 +02:00
indicator.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
indicator_x.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
inlay_hint.svg
library.svg Add prompt library (#11910) 2024-05-16 16:55:54 -04:00
LICENSES Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
line_height.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
link.svg
list_tree.svg Introduce an outline panel (#12637) 2024-06-12 23:22:52 +03:00
logo_96.svg
magnifying_glass.svg
mail_open.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
maximize.svg
menu.svg
mic.svg
mic_mute.svg
microscope.svg assistant: Add debug inspector (#16105) 2024-08-12 17:05:54 +02:00
minimize.svg
option.svg
page_down.svg
page_up.svg
pencil.svg Fix invisible chat icons (#10406) 2024-04-11 18:36:58 +02:00
person.svg git blame: Display GitHub avatars in blame tooltips, if available (#10767) 2024-04-19 15:15:19 +02:00
pin.svg Display buffer/project search entries in the outline panel (#16589) 2024-08-25 21:40:02 +03:00
play.svg Add static Runnables (#8009) 2024-02-19 18:41:43 +02:00
plus.svg
project.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
public.svg
pull_request.svg Add pull requests to git blame tooltip (#10784) 2024-04-19 18:54:20 +02:00
quote.svg
regex.svg Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
repl_neutral.svg Add REPL dropdown menu to toolbar (#14493) 2024-07-15 11:55:49 -07:00
repl_off.svg Stick REPL icon in quick action bar (#14064) 2024-07-10 09:20:52 -07:00
repl_pause.svg Stick REPL icon in quick action bar (#14064) 2024-07-10 09:20:52 -07:00
repl_play.svg Stick REPL icon in quick action bar (#14064) 2024-07-10 09:20:52 -07:00
replace.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
replace_all.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
replace_next.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
reply_arrow_right.svg Fix invisible chat icons (#10406) 2024-04-11 18:36:58 +02:00
rerun.svg task: Add re-run task button to terminal title (#12379) 2024-05-29 11:40:43 +02:00
return.svg
reveal.svg Allow saving prompts from the Prompt Manager (#12359) 2024-05-27 13:48:21 -04:00
rotate_ccw.svg Add more menus to Zed (#12940) 2024-06-18 12:16:54 -07:00
rotate_cw.svg Overhaul inline assistant (#12846) 2024-06-11 12:39:45 +02:00
route.svg Introduce a new /workflow command (#15854) 2024-08-06 16:18:07 +02:00
save.svg Allow saving prompts from the Prompt Manager (#12359) 2024-05-27 13:48:21 -04:00
search_code.svg workflow: Add button to open the step view (#16387) 2024-08-17 13:06:34 -03:00
search_selection.svg Search in selections (#10831) 2024-06-05 13:42:51 -06:00
select_all.svg Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
server.svg remote projects per user (#10594) 2024-04-23 15:33:09 -06:00
shift.svg
slash.svg assistant: Add action footer and refine slash command popover (#16360) 2024-08-16 16:07:42 -03:00
slash_square.svg assistant: Add action footer and refine slash command popover (#16360) 2024-08-16 16:07:42 -03:00
sliders-alt.svg Add note about used context in the model selector (#15235) 2024-07-26 12:48:06 -03:00
sliders.svg Add Editor Controls Menu to Tool Bar (#10655) 2024-04-16 18:03:54 -04:00
snip.svg
space.svg
sparkle.svg Update prompt library styles (#12689) 2024-06-05 22:10:02 -04:00
sparkle_alt.svg Increase size of icon buttons within the inline editor (#15051) 2024-07-24 10:39:05 -03:00
sparkle_filled.svg Update prompt library styles (#12689) 2024-06-05 22:10:02 -04:00
speaker_loud.svg
speaker_off.svg
spinner.svg Iterate on Assistant 2 composer UI (#11306) 2024-05-02 13:01:21 -04:00
split.svg
star.svg Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00
star_filled.svg Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00
stop.svg Increase size of icon buttons within the inline editor (#15051) 2024-07-24 10:39:05 -03:00
stop_sharing.svg
strikethrough.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
supermaven.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_disabled.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_error.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_init.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
tab.svg
terminal.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
text-cursor.svg Add more menus to Zed (#12940) 2024-06-18 12:16:54 -07:00
text_select.svg assistant: Change the quote selection crease icon (#16180) 2024-08-13 17:31:23 -03:00
trash.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
triangle_right.svg Rework context insertion UX (#12360) 2024-05-27 17:44:54 -06:00
undo.svg assistant: Polish /workflow and steps UI (#15936) 2024-08-08 15:46:33 +02:00
unpin.svg Display buffer/project search entries in the outline panel (#16589) 2024-08-25 21:40:02 +03:00
update.svg
user_group_16.svg
visible.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
warning.svg
word_search.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
x.svg
zed_assistant.svg Assistant 2 temp icon (#11257) 2024-05-01 12:56:27 -04:00
zed_assistant_filled.svg Polish prompt library UX (#12647) 2024-06-04 18:36:54 +02:00
zed_x_copilot.svg