Files · Find and look: preview, recent files, search, duplicates and archives
FilePreview shows a file large: its picture in the host's shape, the first lines of its text, or its kind's icon, over its name, kind, size and change; the gallery opens it on Space as a quick look. RecentFiles lists files newest first under a header a day, a list a day. FileSearch sits over a field the host owns and lists what the host found with its folder. DuplicateFinder marks copies to remove and keeps the last of each group, its mark shut, with the bytes the marks free beside Remove. ArchiveViewer draws an archive's entries as a tree with sizes and savings, from paths gathered by the folder builder the file tree now shares. A checkbox's label wraps inside its box instead of running past it. Favorites and the hex viewer point to documents and debug. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
78fc3f90c0
commit
c5c35f90fc
17 files changed
+1507
-22
No files matched your search
@@ -4,18 +4,28 @@ use gpui::{App, Window};
|
||||
|
||||
use crate::lists::DirEntry;
|
||||
|
||||
mod archive;
|
||||
mod columns;
|
||||
mod duplicates;
|
||||
mod explorer;
|
||||
mod grid;
|
||||
mod icon;
|
||||
mod item;
|
||||
mod preview;
|
||||
mod recent;
|
||||
mod search;
|
||||
|
||||
type OnEntry = Rc<dyn Fn(&DirEntry, &mut Window, &mut App)>;
|
||||
|
||||
#[cfg(all(test, feature = "test-support"))]
|
||||
mod tests;
|
||||
|
||||
pub use archive::{ArchiveEntry, ArchiveViewer};
|
||||
pub use duplicates::{DuplicateFinder, Duplicates};
|
||||
pub use explorer::{FileExplorer, FileView};
|
||||
pub use grid::FileGrid;
|
||||
pub use icon::FileIcon;
|
||||
pub use item::FileItem;
|
||||
pub use preview::FilePreview;
|
||||
pub use recent::{RecentFile, RecentFiles};
|
||||
pub use search::{FileSearch, FoundFile};
|
||||
Reference in new issue
Block a user