Smart indentation is always indenting closing braces with one tab more than it should:
If you write:
Then if you press between opening and closing brace:
Result is:
I would prefer smart indent to use my settings from code formatter plug-in. Why not use astyle to format code as you type? Maybe you use astyle but the context is too small?