S
S
SlavaMorg2018-05-29 10:43:22
Sublime Text
SlavaMorg, 2018-05-29 10:43:22

How to configure sublime text 3 so that it does not add extra empty lines?

Hello. The essence of the problem is that I download files via ftp from the server. If I open a file in Notepad, then everything is ok. If in sublime, then an empty line is added after each line. If I change something in the file in sublime, and then save it, it already opens everywhere with extra empty lines. I climbed in the settings, changed, but did not figure it out. I don't want to change the code editor because of this garbage, but it really gets in the way. The sublime version is 3.1.1 (but it was the same in the old ones). OS - windows 10. My sublime settings:
{
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"default_encoding": "Cyrillic (Windows 1251)",
"fallback_encoding": "Cyrillic (Windows 1251 ) )",
"font_size": 13,
"SublimeLinter",
"show_line_endings": true,
"theme": "Default.sublime-theme",
"ensure_newline_at_eof_on_save": false,
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2018-05-29
@PavelMonro

Add to your config:
There are also various plugins on this topic, example: https://github.com/SublimeText/TrailingSpaces

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question