[jira] [Updated] (NETBEANS-420) Intelligent source code diff comparison based on items in navigator needed

2018-02-23 Thread codelite (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

codelite updated NETBEANS-420:
--
Description: 
The graphical diff comparison in git can only deal with small changes in source 
code files now, if there is a big change in source code, the diff tool can 
hardly find the corresponding code parts for comparison, instead it focuses on 
irrelevant single line characters like \{ and } as same lines.
 I wish it could be improved by figuring out source code items(just as those in 
the navigator) for two source code files/versions, and create a jump function 
when double clicking the item text if the element(function or class) in the 
left file is not in the nearby position of the right file, then the right file 
jumps to position of the same function or class, resulting a meaningful 
comparison. The difference graph lines should be drawn for each element no 
matter the difference occurs in nearby positions naturally or after double 
clicking the element text.

  was:
The graphical diff comparison in git can only deal with small changes in source 
code files now, if there is a big change in source code, the diff tool can 
hardly find the corresponding code parts for comparison, instead it focuses on 
irrelevant single line characters like \{ and } as same lines.
I wish it could be improved by figuring out source code items(just as those in 
the navigator) for two source code files/versions, and create a jump button in 
the middle if the element(function or class) in the left file is not in the 
nearby position of the right file, then the right file jumps to position of the 
same function or class, resulting a meaningful comparison. The difference graph 
lines should be drawn for each element no matter the difference occurs in 
nearby positions naturally or after clicking the jump button.


> Intelligent source code diff comparison based on items in navigator needed
> --
>
> Key: NETBEANS-420
> URL: https://issues.apache.org/jira/browse/NETBEANS-420
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Diff
>Reporter: codelite
>Priority: Major
>
> The graphical diff comparison in git can only deal with small changes in 
> source code files now, if there is a big change in source code, the diff tool 
> can hardly find the corresponding code parts for comparison, instead it 
> focuses on irrelevant single line characters like \{ and } as same lines.
>  I wish it could be improved by figuring out source code items(just as those 
> in the navigator) for two source code files/versions, and create a jump 
> function when double clicking the item text if the element(function or class) 
> in the left file is not in the nearby position of the right file, then the 
> right file jumps to position of the same function or class, resulting a 
> meaningful comparison. The difference graph lines should be drawn for each 
> element no matter the difference occurs in nearby positions naturally or 
> after double clicking the element text.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-420) Intelligent source code diff comparison based on items in navigator needed

2018-02-23 Thread codelite (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

codelite updated NETBEANS-420:
--
Issue Type: Bug  (was: Improvement)

> Intelligent source code diff comparison based on items in navigator needed
> --
>
> Key: NETBEANS-420
> URL: https://issues.apache.org/jira/browse/NETBEANS-420
> Project: NetBeans
>  Issue Type: Bug
>  Components: utilities - Diff
>Reporter: codelite
>Priority: Major
>
> The graphical diff comparison in git can only deal with small changes in 
> source code files now, if there is a big change in source code, the diff tool 
> can hardly find the corresponding code parts for comparison, instead it 
> focuses on irrelevant single line characters like \{ and } as same lines.
> I wish it could be improved by figuring out source code items(just as those 
> in the navigator) for two source code files/versions, and create a jump 
> button in the middle if the element(function or class) in the left file is 
> not in the nearby position of the right file, then the right file jumps to 
> position of the same function or class, resulting a meaningful comparison. 
> The difference graph lines should be drawn for each element no matter the 
> difference occurs in nearby positions naturally or after clicking the jump 
> button.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists