Function workspace2::create_and_open_local_file
source · pub fn create_and_open_local_file(
path: &'static Path,
cx: &mut ViewContext<'_, Workspace>,
default_content: impl 'static + Send + FnOnce() -> Rope
) -> Task<Result<Box<dyn ItemHandle>>>