Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change line endings in sublime

how could I change line endings to sublime default in existing file?
there is no problem with line endings when creating new files in sublime (default line endings property works well)

like image 281
Mike Avatar asked Jul 16 '14 17:07

Mike


People also ask

How do I insert a line break in sublime?

To insert a new line below the current line in your code, hit Cmd–Return (Mac) or Ctrl–Enter(Windows). You can also insert a new line above the current line by using Cmd–Shift–Return(Mac) or Ctrl–Shift–Enter (Windows).

How do you change line endings in Visual Studio?

Go to Project> Solution Options> Source Code> Code Formatting> Text File In the Line Terminations drop box select Unix/Mac. Show activity on this post. The LF is clickable and you choose either LF or CRLF. Pretty sure that visual studio code, not visual studio.

Why are line endings different?

The separation of newline into two functions concealed the fact that the print head could not return from the far right to the beginning of the next line in time to print the next character.


1 Answers

You can see and convert line endings in:

View -> Line Endings

like image 113
Daniel Figueroa Avatar answered Sep 20 '22 20:09

Daniel Figueroa