Open cjbottaro opened 9 years ago
Thanks for the suggestion!
So if you set the "Default input value" to empty, it will interpret it as a relative path to the project root and let you build paths from there. The only thing that seems missing to me is an option for "Active file's directory" but with a relative path instead of an absolute one. Would that cover your use case?
It'd still need to be absolute if the file you're editing is outside of a project folder but that's fine.
Oops, I didn't see that option. That does what I want. Thank you!
Cool, less effort for me then. :D
@Osmose It would actually be very nice to get a 'active file folder but relative'.. I had not realized that "empty" meant "project root but relative" either, though, so to save confusion for others perhaps instead it would be less confusing if the options were just "project root" and "active file folder" with a separate option for "use relative paths"?
That's a fair point. I'm not a fan of that particular wording but I agree it could be improved.
I've been terrible at finding time to fix these things myself, but I'll leave this open to track changing the wording to something better, like "Relative project root".
When I open the advanced-open-file dialog, the path always starts with
/Users/me/path/to/my/project/...
(.e.g. an absolute path). Can there be an option to only show a relative path (relative to project root)?Thanks.