andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Recursively create missing directories on save #137

Closed yajo closed 10 years ago

yajo commented 10 years ago

Suppose you press CTRL+L, write f missing-dir/filename.txt, edit that, and press CTRL+S: File saves fine.

But now do CTRL+L, f missing-dir/missing-subdir/filename.txt, edit, CTRL+S: Cannot create directory '/missing-dir/missing-subdir'. Error '[Errno 2] No existe el fichero o el directorio: '/missing-dir/missing-subdir''

Which makes me think that automatic creation of directories is not recursive.

andreikop commented 10 years ago

Thanks, fixed