ZIm/crates/project/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
..
db.rs Use rocksdb to store project paths' public/private state 2022-06-02 17:38:33 -07:00
fs.rs Add integration test to exercise formatting via external command 2022-07-07 11:53:32 +02:00
ignore.rs Use absolute paths to compute ignored status 2022-07-08 11:19:21 +02:00
lsp_command.rs Fix errors resulting from rebase 2022-07-07 18:14:16 +02:00
project.rs Fix association of 'json' lsp language id with JSON language 2022-07-12 15:43:59 -07:00
project_tests.rs Rename LanguageSettings -> EditorSettings 2022-07-12 11:42:43 -07:00
search.rs Remove carriage returns 2022-02-27 07:47:46 -07:00
worktree.rs Differentiate among tabs with the same name 2022-07-14 11:54:11 +02:00