I’ve been trying to turn off auto-indenting but I just can’t do it. I’ve looked through older discussions (like Monodevelop annoying auto indentation - Unity Engine - Unity Discussions ) but so far to no avail. It’s driving me up the wall. At first I just wanted to adjust it to my needs but I’ve given up, would just like to turn it off so i’ll indent manually. Any ideas?
(latest Unity / Monodevelop 5.9.6 )
Actually, I’d like to know about this as well, I don’t particularly like the way monodevelop indents things and in some cases I think it makes things more difficult to read. Especially if you happen to be using quite a few if and else statements within each other because it just clumps them altogether in a thoughtless way.
Edit: May have found the answer, going to try this.
Edit 2: Just tried it and it seems to work! Turn off on the fly code formatting in the text editor behaviour settings and it will stop it.
Update: in Options - Text Editor - behavior, as mentioned already, turn off on the fly formatting, but I also needed to turn off the “Smart” indentation. I set it to "Automatic"and that has saved my sanity
1 Like