This simple addin will put a new menu item in your tools menu called “Options… (Auto Save)”. As the name suggest, after hitting the OK button in the options dialog your changes will be saved (written to disk!) immediately. The normal Options menu item will only save the changes when you cleanly exit the IDE.

image

-brahn

Download: download OptionsAutoSave.sdaddin
Version: 0.1
Updated: June 3, 2011
Size: 4.35 KB
Downloads: 664

 

Many thanks to JP for finding the problems with this today. I am learning a lot about GAC, Reflection, Cultures etc, etc…

The v0.4 release basically didn’t work on any machine that didn’t have the Krypton toolkit installed in the GAC. This v0.5 works around that for now but it looks like that might be the way it will have to go eventually. Hopefully there is a way to do the GAC installation from within the addin architecture, it would just suck to have to use an installer!

The problem with this workaround is that parts of the Krypton Toolkit and the Krypton.PaletteSelectors don’t seem to be able to perform their reflection correctly. In particular, at some point a TypeConverter for the PaletteMode enum seems to be failing. This means that the importing of custom themes fails when it cannot convert a string such as "Office 2007 – Silver" back into the correct enum value.

It is really annoying but for now there are three temporary solutions until I can come up with a proper fix:

  1. Install the Krypton toolkit.
  2. Put ComponentFactory.Krypton.Toolkit.dll into \Clarion7\bin
  3. Edit any custom Palettes that you make and change the BasePaletteMode value to have no spaces or hyphen e.g. value="Office 2007 – Silver" becomes value="Office2007Silver"

 

I have adjusted the custom palettes included with the addin already and when I come up with a permanent solution I will ship them fixed again.

Also included are all the correct DLLs so that you can actually run the PaletteDesigner… !

Read about the new features that were introduced in v0.4 here

Below is the link to the latest v0.5 release.

Download: download SetTheme.sdaddin
Version: 0.5
Updated: June 3, 2011
Size: 2.4 MB
Downloads: 1,098

Things have been really busy here with an addin project that I cannot reveal at the moment…. but just so you know that work on the addins is still progressing, here is an update to the SetTheme with a few features that people have been asking for!

ADDED: The palette selection now uses the Krypton Palette Selector controls found on CodePlex which gives a much improved interface.
ADDED: Now supports custom themes!
ADDED: Comes with 4 custom themes to get you started (these were originally found on the Krypton Toolkit Forums)
ADDED: Addin download package also includes the Krypton Palette Designer so you can create your own IDE themes.

image

Features that are still on the to-do list:

  • Provide further theming of IDE controls that are not changed by the Krypton Palette system. (I have a prototype for this in development but it will take a little while to get it right)
  • It might be nice to be able to include Text Editor schemes as part of a theme “package”. I am sure there would be a way to import these.
  • Connect to a theme “repository” so that you can upload your own themes and download others.
  • IDE con theming support
  • ??? Got any good ideas ???
Download: download SetTheme.sdaddin
Version: 0.5
Updated: June 3, 2011
Size: 2.4 MB
Downloads: 1,098