Change Line Feeds from CRLF to LF in Eclipse
Asked Answered
M

2

12

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?

Manometer answered 17/7, 2017 at 12:56 Comment(1)
have you tried to change the settings? (Window->Preferences->General->Workspace: Text File Encoding and the New Text file line delimiter)Rental
D
15

Try this :

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

enter image description here

Dareece answered 17/9, 2019 at 12:17 Comment(0)
J
11

Just try below process

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

Jennie answered 20/11, 2018 at 10:2 Comment(2)
I do not have Convert Line Delimiters to menu option. How do I get this menu option?Escuage
@Selva, this works for me. Thanks.Apophasis

© 2022 - 2024 — McMap. All rights reserved.