Search code examples
delphipathgexperts

Can FavoriteFiles of GExperts work with relative paths?


We work usually on more than one version of the application, where each version is checked out in a different folder. The problem is when i try to open a file from the "Favorite files" of GExperts which i use it refers the absolute path that was set at the time this file was setas favorite. This causes lots of confusion sometimes, specially when the saved path exists, so one dont notice which file was opoened and keep working with the wrong file.

Is it possible to let GExperts work with relative paths, as the folder structure is actually allways the same, best would be if i could check the in my repository and tell GExperts start from my root path.


Solution

  • GExperts is open source. So feel free to implement yourself what you need and post it in the GExperts discussion group. Read the Developer FAQ for a start. If you'll stumble on any concrete problems the discussion group would be a good place to find help.

    Edit: After the OP's clarifications I could imagine one could add a menu item "Open custom repository" which would load his custom C:\Version11\FavoriteFiles.xml instead of the default one. Additionally one would need a new option UseRelativePaths per FavoriteFiles.xml file (default = False for backwards compatibility).

    Edit 2: See this message. There is now an option for custom collections and some support for relative file names in the FavFiles expert.