I'm using monodevelop on my mac to develop for iPhone. I was wondering if there is a way to change how MD formats C# code? by default it puts the curly braces as the same like as the if which I personally don't like....
+1
A:
In the Solution Options dialog, go to Source Code->Code Formatting->C#. These will cascade to the projects in the solution, but you can override it for individual projects if you want.
You can change the defaults for new solutions in the Default Policies dialog, but this will not affect existing solutions.
mhutch
2010-03-23 15:58:20
I don't seem to have Source Code in options dialog. I'm using MD on my OSX for MonoTouch. Should I download an addon or something?
Ali Shafai
2010-03-23 22:31:50
It's in *Solution Options*, not Preferences.
mhutch
2010-03-24 23:53:03