by ManniAT
15. September 2009 21:54
I wrote a lot of web content and blog entries in the last weeks and my frustration about pasting code reached a level where I decided to finish my tool for this.
Me and some colleagues have been using a “rough and dirty version” of it.
The fact that we had no “important feature whishes” for over a month and the above noted frustration (what I guess more people than I have) ended in building some setup, a cleaner UI, some more settings a lot of final unit test….
Now it’s done CBEnhancer is here!
And a LiveWriter Plugin for my tool is also online: CBEnhancer LiveWriterPlugin
Pasting is now CTRL+C and one click in LiveWriter. The result looks like this:
private static void SaveSettingsAs() {
PromptWindow pW = new PromptWindow();
string strForbidden = "";
foreach(SettingsPreset sP in Settings.Default.SettingPresets) {
strForbidden += sP.Name + ",";
}
string strRet = pW.ShowDialog("Enter a new preset name:", "Use a memorable name (Names of existing presets are not allowed)", "", 3, 20, strForbidden);
if(strRet != null) {
Settings.Default.SettingPresets.AddSetting(strRet.Trim(), Settings.Default);
Settings.Default.CurPreset=strRet.Trim();
Settings.Default.Save();
}
}
Of course it can look much different (CBEnhancer offers a lot of custom settings).
Here an introduction how to use the LiveWriter plugin.
And that’s the next point – I brought up my personal Website http://manniat.pp-p.net
I’ll write a bit about CBEnhancer in the next days – for today I just show the web shop image
and a Shot of the CBEnhancer Settings Screen.
