Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
11.2
-
None
Description
Description:
Netbeans ignores the line ending options and turns Unix to DOS line endings on save.
Git config (default, following command returns an empty string):
glukacsy@SNL013 MINGW64 ~/Dokumentumok/NetBeansProjects/projectname/master (master) $ git config --global core.autocrlf glukacsy@SNL013 MINGW64 ~/Dokumentumok/NetBeansProjects/projectname/master (master)
NetBeans project settings:
- use project options
- enable adjusting (unchecked)
- UNIX(LF)
- show confirmations (checked)
Environment: Windows 10
Code/Language: -
How to reproduce:
- change select file's line endings to Unix via dos2unix utility (MinGW) or
- open IDE, and proceed to edit said file
- save file
- the line endings are now set back to CRLF
Expected behaviour:
Without setting the "enable adjusting option", NetBeans should NOT change the original line ending (which is derived from the line ending of the first line of each individual file, according to the documentation.)