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)
Asked
Active
Viewed 8,793 times
14

Mike
- 20,010
- 25
- 97
- 140
1 Answers
30
You can see and convert line endings in:
View -> Line Endings

Daniel Figueroa
- 10,348
- 5
- 44
- 66
-
7You have to save the file. – Daniel Figueroa Jul 16 '14 at 18:05
-
sure, it mark file as changed, I save it, but when open from linux viwer it shows problems at the end of the lines – Mike Jul 16 '14 at 18:07
-
@MykhayloAdamovych what line ending are you saving it as, and what are the "problems at the end of the lines"? – MattDMo Jul 16 '14 at 18:10
-
Hmmm, thats odd, I haven't tested it thoroughly, but something changes because notepad displays the two versions differently. But then again I'm on ST3 maybe thats why. – Daniel Figueroa Jul 16 '14 at 18:12
-
@MykhayloAdamovych maybe this thread can provide some insight: http://stackoverflow.com/questions/11899843/fixing-sublime-text-2-line-endings – Daniel Figueroa Jul 16 '14 at 18:15