Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Multiple configuration files with TheIDE
Re: Multiple configuration files with TheIDE [message #40444 is a reply to message #40443] |
Thu, 01 August 2013 22:12   |
|
Hi Novo,
If you're on Linux, you can simply achieve this with zero lines of code All you need to do is to create a symlink to theide binary with different name, e.g.ln -s /usr/bin/theide /usr/bin/theide-laptop This way, theide started through the symlink will think the application name is theide-laptop and will store configuration to ~/.upp/theide-laptop/ instead of the usual path. So you get two completely separate sets of configuration.
The downside could be that buildmethods, assemblies and other configuration would be split too, but that can be fixed by hardlinking one to the other if desired (I think symlink wouldn't work in this case, as theide overwrites the file, but I might be wrong).
I successfully use this trick to keep a clean configuration for testing purposes...
On windows, similar thing can probably be done, but I never tried and I don't really remember the perks of windows filesystems anymore 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Tue May 13 14:30:48 CEST 2025
Total time taken to generate the page: 0.00472 seconds
|