You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Lukacsy Gergely (Jira)" <ji...@apache.org> on 2020/06/19 11:35:00 UTC
[jira] [Updated] (NETBEANS-4472) NetBeans ignores line ending type
[ https://issues.apache.org/jira/browse/NETBEANS-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukacsy Gergely updated NETBEANS-4472:
--------------------------------------
Labels: line-endings save (was: line-endings upload)
> NetBeans ignores line ending type
> ---------------------------------
>
> Key: NETBEANS-4472
> URL: https://issues.apache.org/jira/browse/NETBEANS-4472
> Project: NetBeans
> Issue Type: Bug
> Components: ide - Code
> Affects Versions: 11.2
> Reporter: Lukacsy Gergely
> Priority: Minor
> Labels: line-endings, save
>
> *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):
>
> {code:java}
> glukacsy@SNL013 MINGW64 ~/Dokumentumok/NetBeansProjects/projectname/master (master)
> $ git config --global core.autocrlf
> glukacsy@SNL013 MINGW64 ~/Dokumentumok/NetBeansProjects/projectname/master (master){code}
> *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.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists