How do I switch between Windows and UNIX newlines in Netbeans?

后端 未结 9 1490
执笔经年
执笔经年 2021-02-07 03:52

The version of NetBeans that I use is 6.5.1

9条回答
  •  广开言路
    2021-02-07 04:48

    What is your goal - to have a work flow using only Unix line-endings?

    As has already been pointed out - there isn't any functionality in Netbeans to convert from one line ending to the other.

    New PHP files created in NetBeans (File > New File > PHP) have Unix line endings by default.

    This doesn't really give you the functionality you asked about but Netbeans will respect the file endings of existing files and create new PHP files with Unix line endings.

提交回复
热议问题