[Github-comments] [geany/geany] relative directory paths in Geany project (to make them git friendly) (#2483)

Keuronde notifications at xxxxx
Mon Nov 16 21:20:43 UTC 2020


Hi,

I really want to have relative path in the geany session file.
Being able to deploy code ready to compile with IDE setup is a nice looking idea! 


So here is what I suggest:

1. Be able to open file with relative path from the session file. For relative path, the root path would be the one of the "session file"
2. Create a checkbox in the project properties to use relative or absolute path. 
3. Be able to save relative path in the session file
4. Deal with the base_path

Right now, I am on the step 1.
I have clearly identify were are the path read : function open_session_file, in file keyfile.c
I can tell if a path is a relative one or an absolute one. 

I am stuck because i didn't find an obvious way to share the absolute path of the session to this function.

Do you have any suggestions or comments?


-- 
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/issues/2483#issuecomment-728336103
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201116/d252d127/attachment.htm>


More information about the Github-comments mailing list