Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: ZGitRDun8705 on March 28, 2008, 01:21:10 pm

Title: Plugins settings
Post by: ZGitRDun8705 on March 28, 2008, 01:21:10 pm
For the Windows version of Code::Blocks, it appears that all of the settings for plugins are stored in APPDATA or USERPROFILE (same location, different environment variable)  would it be possible for the plugins to look for the location of default.conf, and save their settings to a /plugins/ directory under that path?  This would greatly improve the ease of carrying a fully portable development environment on a USB key or Portable hard drive.
Title: Re: Plugins settings
Post by: Pecan on March 28, 2008, 02:04:58 pm
http://forums.codeblocks.org/index.php/topic,8100.msg60561.html#msg60561

CodeBlocks can already be made portable. For those plugins that depend on .ini files, the search sequence is the same as described for the .conf file.

Title: Re: Plugins settings
Post by: ZGitRDun8705 on March 28, 2008, 03:23:26 pm
The info that link points to says

Quote
BTW: This does probably NOT apply for any other config file(s) where not C::B is the maintainer but e.g. plugins. The main config file just works like that.

so I'm not sure it really works that way.  I'll test it out and report back though
Title: Re: Plugins settings
Post by: MortenMacFly on March 28, 2008, 04:14:52 pm
Quote
BTW: This does probably NOT apply for any other config file(s) where not C::B is the maintainer but e.g. plugins. The main config file just works like that.
Notice the "probably". We can't know every third party plugin implementation. If the plugins are written well it will work if not it fails. That's why I chose "probably" there.