且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

RubyMine-如何将行尾字符更改为Windows?

更新时间:2021-09-22 00:02:30

File | Line Separator(或状态栏,与文件编码相邻),可以查看和更改当前文件的行尾强>.

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.

对于新建文件,请选中Settings (Preferences on Mac) | Code Style | General -> Line separator (for new files)