MonoDevelop - Convert line ending dialog
Asked Answered
E

4

29

I often switch between MonoDevelop on Linux and VS2010 with the same code base so I'm forever having to click do not convert line ending. Is there an option to set a default answer in MonoDevelop to prevent this dialog from popping up?

Elegit answered 2/4, 2012 at 20:30 Comment(0)
E
39

Found it...

Edit > Preferences > Source Code > Code Formatting > Text File > Line Endings

For v2.8.2:

Project > Solution Options > Source Code > Code Formatting >Text File > Line Endings

And for 4 (a.k.a. Xamarian Studio):

Tools > Options... > Text Editor > General > Coding > "Line ending conversion:"

In MonoDevelop 5.9.6 I found this option under :

Project > Solution Options > Source Code > Code Formatting

Elegit answered 2/4, 2012 at 22:55 Comment(0)
M
5

FYI, in MonoDevelop v2.8.2, it's located in: Project > Solution Options > Source Code > Code Formatting >Text File > Line Endings

Misadventure answered 4/1, 2013 at 21:57 Comment(0)
C
2

In MonoDevelop 4 (alias Xamarin Studio), you can find this setting in:

Tools > Options... > Text Editor > General > Coding > "Line ending conversion:"
Choral answered 26/4, 2013 at 8:29 Comment(0)
E
0

This comes up for warnings in Unity 2018 and MonoDevelop.

I was able to change the default, but didn't find a way to fix the warning about a file in MonoDevelop. I ended up pasting into Atom, saving, then copy/pasting back into MonoDevelop.

Edgeworth answered 19/8, 2018 at 3:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.