Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MonoDevelop - Convert line ending dialog

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?

like image 310
Myles McDonnell Avatar asked Apr 02 '12 20:04

Myles McDonnell


2 Answers

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

like image 167
Myles McDonnell Avatar answered Oct 14 '22 23:10

Myles McDonnell


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

like image 45
justinl Avatar answered Oct 15 '22 01:10

justinl