Stop Monodvelop adding new line when using attribute

This may be a question for the Monodevelop team, and I will email them if no one here has an answer. I thought it would be useful to ask the question here, as I imagine other Unity users are having this issue.

Since the upgrade to Monodevelop 4.0.1, when I format my code it adds new lines where I have used attributes. I have not been able to find a setting to change this behaviour in the C# source code Policy settings. Does anyone know a way change this?

Here’s an example of how Monodevelop is adding new lines and indentation:

float one;
[SerializeField]
float
    two;
float three;
[Range(0.0f, 1.0f)]
float
    four;

As you can see it looks a bit odd and wastes space.

NOTE: THIS ANSWER IS WRONG, IT EXPLAINS HOW TO DO SOMETHING COMPLETELY DIFFERENT

In MonoDevelop:

MonoDevelop-Unity → Preferences → Text Editor → Code Templates → “Attribute” (It’s after “~”)

There are a ton of formatting options buried in the MonoDevelop settings -Sorry I don’t know them intimately enough to go into great detail for you.

All I can say is:

Before doing anything, make sure you know how to revert your changes back, or at least reset to standard settings!