[Github-comments] [geany/geany] Create project's filename path (#2586)
tivrfoa
notifications at xxxxx
Mon Sep 14 14:05:34 UTC 2020
Hi,
Geany doesn't create the path specified for "Filename", only for "Base path".
So if we specify a path for "Filename" different from "Base path", we get the error:<br>
*`Project file could not be written (No such file or directory).`*
So the workaround is to create the path by hand ..., eg:<br>
```shell
mkdir -p /home/someone/projects/
```
So I think it is better for usability to ask users if they want the filename's
path to also be created.
I'm not a C developer, but thanks to the Geany guides I was able to come
up with a solution.
If you also think this change is important, then please review this PR
and guide me on how to make it better.
I only tested on Ubuntu and it worked.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2586
-- Commit Summary --
* Create project's filename path
-- File Changes --
M src/project.c (47)
-- Patch Links --
https://github.com/geany/geany/pull/2586.patch
https://github.com/geany/geany/pull/2586.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200914/a6c9dc47/attachment.htm>
More information about the Github-comments
mailing list