Cross file changes #370
Replies: 3 comments 1 reply
-
This is not something that is implemented, unfortunately... |
Beta Was this translation helpful? Give feedback.
-
Hi! Unfortunately, this is not something that I am currently working on. I don't think that it's impossible to implement, although it will require careful thinking to avoid a combinatorial explosion. I think the key point is to perform matching first within-file and try cross-file matching in a second round. Maybe a new hyperparameter to not be too aggressive in the cross-file matching. Finally, maybe an index would help to speed-up the process. Cheers! |
Beta Was this translation helpful? Give feedback.
-
@sakura-sukii However, in our experiments, we implemented the Staged-Tree-Matching algorithm by Fujimoto et al., which has a second stage trying to match the remaining unmatched AST nodes between different files. The implementation can be found at @pouryafard75 can give you more information |
Beta Was this translation helpful? Give feedback.
-
How can I use Gumtreediff to find cross file changes?
There may have some code be deleted in src.py and added in dst.py. Something like a 'move', can Gumtree deel with these conditions?
Beta Was this translation helpful? Give feedback.
All reactions