ZIm/crates/workspace/src
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
..
pane.rs Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
pane_group.rs Require that PartialEq is implemented for Action 2022-06-06 09:18:44 +02:00
sidebar.rs Updated drag API to pass old,new, instead of delta,new 2022-07-07 16:07:24 -07:00
status_bar.rs Move sidebar toggle buttons to the status bar 2022-04-27 14:25:39 -07:00
toolbar.rs Add tooltips to pane nav buttons and make them trigger on click 2022-07-07 13:36:08 -07:00
waiting_room.rs Adjust pane, tab, panel management bindings to match VS Code 2022-06-29 15:33:46 -07:00
workspace.rs Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00