I moved a piece of code into a new method and I would like to see that in a visual manner. meld and patch just shows a piece of code got deleted and a new piece of code got added.
What tool could I use? Cross-platform strongly preferred.
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It only takes a minute to sign up.
Sign up to join this communityI will not give you any recommendation tools right now (I will update my answer soon). But, you can try Github Gist first. The Github Gist has a revision features that will show you about the codes either added or removed. See one of the public gist here from Facebook. You can view both of green and red bar. The green bar indicates the added code and red bar indicates the removed code. Actually, this feature lacks of visualization as your expectation.
Another way that you can know the code moving is comparing the files and folders. I found on the internet, there was a diff tool you can try. This is one of the example, Diff Between from JetBrains. Given the visualization of diff tool here below:
There are a lot of diff tool that supports an IDE out there.