zed/styles
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
..
dist Add affordance to copy user's invite link if they have a code 2022-05-19 17:57:46 -06:00
src Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00
.gitignore Finish dark.ts initial port and restructure files to get ready for build script 2022-03-31 20:31:18 -07:00
package-lock.json Fixed modal terminal bindings to not show in command palette 2022-07-13 16:39:22 -07:00
package.json working jump to definition with tests 2022-06-24 15:09:31 -07:00
tsconfig.json 💄 2022-04-06 09:28:56 -06:00