zed/crates
Antonio Scandurra 07d269234f Differentiate among tabs with the same name
This commit introduces a new, optional `Item::tab_description` method
that lets implementers define a description for the tab with a certain
`detail`. When two or more tabs match the same description, we will
increase the `detail` until tabs don't match anymore or increasing the
`detail` doesn't disambiguate tabs any further.

As soon as we find a valid `detail` that disambiguates tabs enough, we
will pass it to `Item::tab_content`. In `Editor`, this is implemented by
showing more and more of the path's suffix as `detail` is increased.
2022-07-14 11:54:11 +02:00
..
activity_indicator Show LSP status and auto update status in one status bar indicator 2022-06-29 16:54:01 -07:00
assets
auto_update Show LSP status and auto update status in one status bar indicator 2022-06-29 16:54:01 -07:00
breadcrumbs
chat_panel Accept a datetime range when querying project activity 2022-06-21 14:03:10 +02:00
cli
client Respond with a debug version of the error in rpc Client 2022-07-07 11:52:56 +02:00
clock
collab Move all default settings from source code into the JSON file 2022-07-12 11:35:19 -07:00
collections
command_palette add test for filter 2022-06-28 13:45:34 -07:00
contacts_panel Merge branch 'main' into user-timeline 2022-07-04 09:23:16 +02:00
context_menu Add basic test for editor context menu 2022-07-13 14:13:19 -07:00
diagnostics Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
editor Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
file_finder Add unit test for ignored files in file finder 2022-07-08 12:16:42 +02:00
fsevent
fuzzy
go_to_line
gpui Don't borrow window state mutably until we need to invoke resize callback 2022-07-13 10:38:34 +02:00
gpui_macros
journal
language Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
lsp Further unpropogate async 2022-07-07 16:16:58 +02:00
menu
outline
picker
plugin Fix minor issues pointed out in the review 2022-07-11 15:54:03 +02:00
plugin_macros Fix minor issues pointed out in the review 2022-07-11 15:54:03 +02:00
plugin_runtime Fix docs 2022-07-13 20:19:56 +02:00
project Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
project_panel Select the last root when right-clicking below all project panel entries 2022-07-05 13:21:41 -07:00
project_symbols Fix minor issues pointed out in the review 2022-07-11 15:54:03 +02:00
rpc Add wasmtime and fix zstd version conflict 2022-07-07 15:01:15 +02:00
search Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
settings Merge pull request #1330 from zed-industries/completions-setting 2022-07-13 15:35:10 -07:00
snippet
sum_tree
terminal Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
text Normalize line endings when parsing completions 2022-07-06 19:32:45 +02:00
theme Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
theme_selector
util add show_completions_on_input setting to disable popping the completions menu automatically 2022-07-13 14:23:49 -07:00
vim Merge pull request #1311 from zed-industries/fix-visual-paste 2022-07-08 16:54:10 -07:00
workspace Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
zed Merge fuel-based metering 2022-07-14 08:13:47 +02:00