Change Line Feeds from CRLF to LF in Eclipse

Viewed 8171

I recently noticed that the line-feeds of files in my project are CRLF but I want them as LF.(I get the following message from GIT GUI :

"UTF-8 Unicode text, with CRLF line terminators"

How can I solve this problem?

2 Answers

Try this :

Window->Preferences->General->Workspace: New Text file line delimiter

enter image description here

Just try below process

File--> Convert Line Delimiters to --> Unix

Related