How to change the line ending used in Netbeans

前端 未结 5 1761
南方客
南方客 2020-12-10 01:38

Netbeans has this wiki entry on line endings: http://wiki.netbeans.org/FaqEditorEOLs

But it isn\'t very useful. It just says that you shouldn\'t develop on different

5条回答
  •  旧巷少年郎
    2020-12-10 02:01

    Have you considered managing the line endings at the version control level? Subversion, for example, lets you set an "eol-style" attribute with values "LF", "CR", "CRLF", and "native" (which translates the line endings stored in the repository to whatever is appropriate for the platform where the files are being checked out, and converts the other way when you check in.)

提交回复
热议问题