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)