@@ -198,6 +198,7 @@ impl Document {
198198 async move {
199199 use tokio::{fs::File, io::AsyncWriteExt};
200200 if let Some(parent) = path.parent() {
201+ // TODO: display a prompt asking the user if the directories should be created
201202 if !parent.exists() {
202203 return Err(Error::msg(
203204 "can't save file, parent directory does not exist",