new path picker (#11015)
Still TODO: * Disable the new save-as for local projects * Wire up sending the new path to the remote server Release Notes: - Added the ability to "Save-as" in remote projects --------- Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Bennet <bennetbo@gmx.de>
This commit is contained in:
parent
314b723292
commit
664f779eb4
27 changed files with 775 additions and 149 deletions
|
@ -36,7 +36,6 @@ use std::{
|
|||
cmp::Ordering,
|
||||
mem,
|
||||
ops::Range,
|
||||
path::PathBuf,
|
||||
};
|
||||
use theme::ActiveTheme;
|
||||
pub use toolbar_controls::ToolbarControls;
|
||||
|
@ -740,7 +739,7 @@ impl Item for ProjectDiagnosticsEditor {
|
|||
fn save_as(
|
||||
&mut self,
|
||||
_: Model<Project>,
|
||||
_: PathBuf,
|
||||
_: ProjectPath,
|
||||
_: &mut ViewContext<Self>,
|
||||
) -> Task<Result<()>> {
|
||||
unreachable!()
|
||||
|
|
|
@ -13,7 +13,10 @@ use project::FakeFs;
|
|||
use rand::{rngs::StdRng, seq::IteratorRandom as _, Rng};
|
||||
use serde_json::json;
|
||||
use settings::SettingsStore;
|
||||
use std::{env, path::Path};
|
||||
use std::{
|
||||
env,
|
||||
path::{Path, PathBuf},
|
||||
};
|
||||
use unindent::Unindent as _;
|
||||
use util::{post_inc, RandomCharIter};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue