Author Topic: Plugins settings  (Read 5152 times)

Offline ZGitRDun8705

  • Single posting newcomer
  • *
  • Posts: 4
Plugins settings
« 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.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: Plugins settings
« Reply #1 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.


Offline ZGitRDun8705

  • Single posting newcomer
  • *
  • Posts: 4
Re: Plugins settings
« Reply #2 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Plugins settings
« Reply #3 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ