3

I changed a RubyMine settings few days back. It was related to changing the end of line character from '\r\n' to something else, so that it is only Mac compatible.

Now, each file I edit is changed completely in git diff. Also, I can't recall which setting option was it.

Any guesses?

Apoorv Parijat
  • 861
  • 1
  • 10
  • 16
  • 1
    Not sure about RubyMine, but in other JetBrains' IDEs there is `File | Line Separator` (or the same in status bar, next to file encoding) which will allow to see and change line ending for **current file**. For **newly created** files check `Settings (Preferences on Mac) | Code Style | General -> Line separator (for new files)` – LazyOne Jan 22 '14 at 11:07
  • You can post it as an answer and I'll accept. – Apoorv Parijat Jan 22 '14 at 11:39

1 Answers1

5

File | Line Separator (or the same in status bar, next to file encoding) which will allow to see and change line ending for current file.

For newly created files check Settings (Preferences on Mac) | Code Style | General -> Line separator (for new files)

LazyOne
  • 158,824
  • 45
  • 388
  • 391