How to change the line ending used in Netbeans

前端 未结 5 1755
南方客
南方客 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:03

    Since, a specific plug-in came out: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=36810

    I also like @JimLewis suggestion but I work on Windows with a linux virtual machine thus in some cases the versioning system line ending cannot help.

    [update 201709] I no longer use netbeans (sorry, but I need python support and it's too buggy) and almost no longer develop on windows, but @marinos-an in a comment suggests https://github.com/welovecoding/editorconfig-netbeans which uses a common setting file that can be picked up by multiple editors through plugins. Definitely interesting to try since the settings file is committable!

提交回复
热议问题