Forcing windows CRLF endings for custom language plugin

Answered

I have been working on a custom language plugin for a Windows game that requires all files use CRLF line endings. Yesterday I had to edit a file I have not implemented support for. I had to edit the file in plain text, and I thought everything was fine, but when I ran the file, it crashed the game. I realized it was the line endings problem.

I have already added support for two other file formats, and I feel like I was able to force line endings to be CRLF, but I cannot for the life of me remember how.

Is this possible? If someone could point me in the right direction, I would appreciate it.

0
1 comment

com.intellij.openapi.fileEditor.impl.LoadTextUtil#detectLineSeparator // com.intellij.openapi.fileEditor.impl.LoadTextUtil#changeLineSeparators

File -> File Properties -> Line Separators menu

0

Please sign in to leave a comment.