project_panel: Add file comparison function, supports selecting files for comparison (#35255)

Closes https://github.com/zed-industries/zed/discussions/35010
Closes https://github.com/zed-industries/zed/issues/17100
Closes https://github.com/zed-industries/zed/issues/4523

Release Notes:

- Added file comparison function in project panel

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
This commit is contained in:
mcwindy 2025-08-08 02:34:12 +08:00 committed by GitHub
parent 53b69d29c5
commit e8db429d24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 295 additions and 45 deletions

View file

@ -62,7 +62,7 @@ pub struct SelectedEntry {
#[derive(Debug)]
pub struct DraggedSelection {
pub active_selection: SelectedEntry,
pub marked_selections: Arc<BTreeSet<SelectedEntry>>,
pub marked_selections: Arc<[SelectedEntry]>,
}
impl DraggedSelection {