Sublime Forum

Sublime Text 2 - Blank lines being added

#1

I am experiencing an annoying bug with Sublime 2 (Windows 7).

When ever I open a .php file (or any text based file for that matter) that has previously been worked on by my co-worker (also using Sublime 2, but on OSX), blank lines have been inserted after each line of text.

Has anyone else encountered this?

Really need this sorting, Sublime is a lovely piece of kit, but this is starting to become a deal-breaker :frowning:

0 Likes

#2

probably the line ending are different.
Try to File Settings - User and add this on both machines:

"default_line_ending": "LF"

Btw, this may also screw up your version control for few commits.

0 Likes

#3

Have made those changes, fingers crossed it’ll work :smile:

Thanks!!

0 Likes