IDE - Relative paths for all preferences

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

IDE - Relative paths for all preferences

Post by c4s »

The project description file (*.pbp) uses relative paths for the included files by default. All other paths such as the output executable name etc. support relative paths too which is awesome!

Why not allow it for the IDE preferences too? What I mean is that all path preferences should allow paths relative to IDE's "PureBasic.exe". Unfortunately even with the "/PORTABLE" switch preference paths are not converted to relative ones (tested with PB 5.30)...

The obvious advantage is that it would make PureBasic even more portable. I have a PB installation which I often move to different locations, so e.g. the paths to different versions of the compiler won't work anymore. I tried to force it by manually editing the prefs file which seems to be a quick workaround. But official support for this feature with something like an option (to enable/disable it) would be even more appreciated.


Edit: I think I was wrong about the hidden support of portable paths. It's automatically changed back or the IDE simply doesn't understand it.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!