News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Plugins settings

Started by ZGitRDun8705, March 28, 2008, 01:21:10 PM

Previous topic - Next topic

ZGitRDun8705

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.

Pecan

http://forums.next.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.


ZGitRDun8705

The info that link points to says

QuoteBTW: 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

MortenMacFly

Quote from: ZGitRDun8705 on March 28, 2008, 03:23:26 PM
QuoteBTW: 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]