Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a project we may have a CSS file which was originally created (and committed to our code repository) by a person using a Unix based operating system. So all lines in that file end with \n.

Whenever a person on Windows with Adobe Dreamweaver edits that file, even if the edit is just a single character, the newlines of the whole file are converted to Windows style, which is \r\n.

This is problematic because at the instant this happens a commit to the code repository will not be possible (will produce conflict) in case someone else (with a proper editor) has altered other parts of the file.

How can this be prevented? All text editors I know (Notepad++, TextPad, etc) respect the file format of a file. Can Dreamweaver do that as well?

share|improve this question

migrated from Jul 2 '13 at 14:55

This question came from our site for Graphic Design professionals, students, and enthusiasts.

I would recommend changing your code repository. It shouldn't be possible to check out any file more than once concurrently, so conflicts should not happen. [I think the question's off-topic and would probably be better asked in Webmasters or Superuser.] – Andrew Leach Jul 2 '13 at 7:15

The only option I see is setting the Line break type in Dreamweaver to LF (Unix):

enter image description here

I don't see any option to leave the line breaks as they are.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.