Add file_finder module

Still need to wire up key bindings to make it toggle.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo
2021-03-21 10:50:07 -06:00
co-authored by Antonio Scandurra
parent 0c59937a65
commit f5df3681f8
10 changed files with 508 additions and 25 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
use super::{ItemViewHandle, SplitDirection};
use crate::{settings::Settings, watch};
use gpui::{
color::ColorU, elements::*, keymap::Binding, App, AppContext, Border, ChildView, Entity, View,
ViewContext,
color::ColorU, elements::*, keymap::Binding, App, AppContext, Border, Entity, View, ViewContext,
};
use std::cmp;
+1 -1
View File
@@ -2,7 +2,7 @@ use anyhow::{anyhow, Result};
use gpui::{
color::{rgbu, ColorU},
elements::*,
Axis, Border, ChildView,
Axis, Border,
};
#[derive(Clone, Debug, Eq, PartialEq)]
+2 -3
View File
@@ -1,9 +1,8 @@
use super::{pane, Pane, PaneGroup, SplitDirection, Workspace};
use crate::{settings::Settings, watch};
use gpui::{color::rgbu, ChildView};
use gpui::{
elements::*, AnyViewHandle, AppContext, Entity, ModelHandle, MutableAppContext, View,
ViewContext, ViewHandle,
color::rgbu, elements::*, AnyViewHandle, AppContext, Entity, ModelHandle, MutableAppContext,
View, ViewContext, ViewHandle,
};
use log::{error, info};
use std::{collections::HashSet, path::PathBuf};