In the bottom right handside of workspace, you will see,
New Text File Line Delimiter,
Click on other, and change it to Unix.
See Image below.

Cheers,
Sonu
Thoughts, comments, opinions of 20-something working in IT striving to be a house-proud homemaker