Not quite sure if this is techncally a defect, sorry if it should be enhancement.
I'm working on a project involving developers on linux and windows. If http://wiki.netbeans.org/FaqEditorEOLs is
correct, I understand that there is no way for me to make new files with "\n" newlines from a windows computer. This is
causing errors in the revision controller we use. For now I am copying files created in linux and renaming and blanking
them - an unfortunate workaround. It seems like the inability to change the default end of line delimiter is likely to
be causing trouble for a number of other people. Could this default become an option somewhere? Is there a place to edit
it that jsut isn't documented?
My friend helps me correct myself: rather than \n, what I'm hoping to specify is LF end-lines instead of CRLF ones.
Hi, you are probably right. We could provide better support for this in Netbeans. On the other hand, would not it be
better if your version control system automatically converted line ends when adding/commiting files? I remember that the
CVS clients for windows do the conversion somehow. Netbeans project used to use CVS and there surely were people working
on Windows and commiting changes to the repository. These days we use Mercurial, which AFAIK has some extension for
Windows that does the conversion.
What version control system are you using? Could you instruct its Windows client software to do the conversion?
I am using git, and while it is possible to instruct it to do the conversion, I have other situations in which I might
like a unix line ending as well, and surely it would not be too hard to save in whichever format the user chooses
(defaulting to the system standard). Netbeans should be able to do something that basic.
*** This issue has been marked as a duplicate of 72515 ***