-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual assignment of pairs of files #703
Comments
@pouryafard75 |
Side comment (not sure if I should open a new issue) I don't get the semantics of red and green. In the screenshot the red and green text seems to be the same, but one is marked red, the other one green. Tracing information: The diff was created by issuing following command
|
I think, what would help me is to have some letters/icons between the line numbers and the text. For instance |
Indeed, we need to do a lot to improve the UI look and feel. I agree with all your comments. To summarize all points in the issue:
|
Additionally, when opening the editor, it should scroll to the first diff. Example: When diffing The commit Oh, I don't see added code on the right side? On GitHub, I see the added lines: OK, all are green... I would like to have a "mix" of current RefactoringMiner and the GitHub diff... |
This is an interesting case in terms of diff accuracy. This possibly means that 2 arguments are newly added, but it's a bit hard to understand what is the correct diff. L81 seems it moved to R93. Is this correct? L89 is now R95. Is this correct? What are the truly newly added arguments? |
:-) Therefore I was asking about arrows to check if the tool would match some intuition.
Sure :) - I also forgot, what I added :)
Yes.
Yes. Fixed-test-case.
No reordering of arguments. It should be updates only to fix the expected value at the beginning (first parameter).
|
I have great news. We implemented additional diffs for moved code. For PR https://github.com/JabRef/jabref/pull/11180/files |
@koppor |
@koppor |
Context: https://github.com/JabRef/jabref/pull/11180/files
There was code moved from
src/main/java/org/jabref/gui/frame/JabRefFrame.java
tosrc/main/java/org/jabref/gui/frame/JabRefFrameViewModel.java
. E.g.,storeLastOpenedFiles
was moved there. I want to see an AST diff there.Maybe, the use case is that methods go from one file n > 1 other files, which seems to be unsupported currently.
For me, it would be OK, to have a list of candidate files where changes are in and that I select one of the file for viewing (and then getting the MonacoDiff)
src/main/java/org/jabref/gui/frame/JabRefFrame.java
src/main/java/org/jabref/gui/frame/JabRefFrameViewModel.java
The text was updated successfully, but these errors were encountered: