Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set crlf endings in QtCreator on linux

I want to set QtCreator to use CRLF instead of LF in unix. Is there a way to do that?

PS: I know I can use dos2unix on the files however I don't want to do that.

like image 290
Dan Lincan Avatar asked Mar 27 '12 18:03

Dan Lincan


1 Answers

The next QtCreator version will have the possibility to change the line endings for an open document from the toolbar.

Depending on the time I'll try to also try to make a default option into QtCreator settings for newly created files.

like image 181
smaryus Avatar answered Oct 22 '22 11:10

smaryus