EOL conversion in notepad ++

后端 未结 4 982
我在风中等你
我在风中等你 2020-11-30 23:39

For some reason, when I open files from a unix server on my windows machine, they occasionally have Macintosh EOL conversion, and when I edit/save them again they don\'t wor

4条回答
  •  猫巷女王i
    2020-12-01 00:21

    That functionality is already built into Notepad++. From the "Edit" menu, select "EOL Conversion" -> "UNIX/OSX Format".

    screenshot of the option for even quicker finding (or different language versions)

    You can also set the default EOL in notepad++ via "Settings" -> "Preferences" -> "New Document/Default Directory" then select "Unix/OSX" under the Format box.

提交回复
热议问题