Quantcast
Channel: Questions in topic: "policy"
Viewing all articles
Browse latest Browse all 64

Stop Monodvelop adding new line when using attribute

$
0
0
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.

Viewing all articles
Browse latest Browse all 64

Trending Articles