blank lines between every code line

Hi all,

we have a new employee und a problem regarding blank lines. He is working on a html document and the code looks just fine on his computer, no blank lines. He commits his files to cvs and when i check them out again and view them on my computer there is a blank line between every line of code. We already checked some options in settings but they all match and i just cant find a solution. Does anyone know why this is happening?

Regards
sub

0
3 comments

Possibly a problem with DOS vs Unix line terminators? Maybe double-check the line-separator setting in IDE Settings --> IDE --> Global Code Style --> General.

It might be interesting for both of you to export your settings (File --> Export Settings...) and then have him import them yours into his IDEA and see if the problem continues. Maybe diffing the exported settings will help track down the source of the problem.

0
Avatar
Permanently deleted user

I first thought it is an IDEA problem but since we couldnt find a solution i started one more test. The problem described above is not an IDEA related Problem but a general Windows problem or whatever, i dont know right now.

Both machines are running Windows XP Prof. sp2, we used a plain text file and notepad and it came out, that a simple carriage return in this textfile is displayed as it should on his computer -> no line feed. When i open this file on my computer every carriage return is a carriage return and a line feed. Any ideas?

Regards
sub

0
Avatar
Permanently deleted user

Check if it is not CVS check-in/check-out issue.

0

Please sign in to leave a comment.