jonasswiatek/strokes — Issue #38: C# Code Indenter/formatter/beautifier
Author: jonasswiatek
Created: 2011-10-26 22:30:26+00:00
State: open

I've made the CodeSnapshot feature that captures the code which unlocks an achievement.

In order to make this feature SUPER top notch, the best would be to clear formatting - basically:
Regex.Replace(input, @"^\s+", ""); and swipe out all line breaks. The formatter should then place all the appropriate line breaks an indentations.

I've looked around google for some open sauze we can use, and the only one I've remotely found was NArrange, but it seems to be a pretty huge code base. Now, I'm hoping one of you might be more lucky finding one - failing that, it's probably not THAT big of an assignment to write a formatter that does as basic formatting as this.