Not working yet file-finder2 (#3321)

Porting file_finder

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2023-11-14 15:22:59 -08:00 committed by GitHub
commit df64a3c701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 2193 additions and 98 deletions

View file

@ -21,7 +21,6 @@ use project::{
};
use project_panel_settings::{ProjectPanelDockPosition, ProjectPanelSettings};
use serde::{Deserialize, Serialize};
use smallvec::SmallVec;
use std::{
cmp::Ordering,
collections::{hash_map, HashMap},
@ -1458,7 +1457,7 @@ impl Render for ProjectPanel {
.map(|(_, worktree_entries)| worktree_entries.len())
.sum(),
|this: &mut Self, range, cx| {
let mut items = SmallVec::new();
let mut items = Vec::new();
this.for_each_visible_entry(range, cx, |id, details, cx| {
items.push(this.render_entry(id, details, cx));
});