You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (Jira)" <ji...@apache.org> on 2020/05/23 15:20:00 UTC

[jira] [Commented] (NETBEANS-2336) Show line endings in DIff window

    [ https://issues.apache.org/jira/browse/NETBEANS-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114812#comment-17114812 ] 

Christian Lenz commented on NETBEANS-2336:
------------------------------------------

See the screenshot: netbeans-no-information. Atm I need to guess, what the diff is between those files, due to no information is seen in the diff. I use a plugin called show and change lineendings, which shows which line ending has the left and which has the right. This is just to see the information, but w/o this plugin, I don't know why there is a diff.

> Show line endings in DIff window
> --------------------------------
>
>                 Key: NETBEANS-2336
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2336
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: utilities - Diff, versioncontrol - Code
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>         Attachments: image-2019-04-02-14-31-50-501.png, netbeans-no-information.png
>
>
> If I changed the line endings maybe accidentelly, because of windows is using CRLF and Unix is using LF, I see that my file was modified which is fine, but I don't see why or which lines are affected. If I push to github, every line will be red from the old and green from the new one. In IntelliJ you see on the top of the window which line ending the files have. So if the file from remote has LF and mine local CRLF, I can see it in the diff window and can figure that problem out that I accendently switched the line ending. This is very handy and needed to not commit such files that where changed automatically.



--
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