Fix “Inconsistent line endings. Some are Mac OS X (UNIX) and some are Windows.”

File-> Advance Save Options

Access the functionality through File-> Save As -> then clicking the down arrow on the Save button and clicking “Save With Encoding…”.

You can also add it(Advance Save Options) back to the File menu through Tools->Customize->Commands

通過”檔案”->”進階儲存選項” 來序列化代碼的格式

如果沒看到 “進階儲存設定”

你也可以通過”工具”->”自定義”->”命令”將”進階儲存設定”添加回”檔案”。

Tags: