Compare sources in eclipse

Very often I encounter situation where I need to see or manually compare two eclipse sources. It can be a situation when I extending some class and looking at current implementation of superclass and writing similar implementation in subclass. Here are solutions come in mind with time:

  • Just copy prototype class in another file and edit it in place with commenting/uncommenting. This solution seems a bit dirty to me and causes hidden "copy-paste" bugs.
  • Open prototype class in another editor and make it "always visible". It's a tricky.
  • Have state where prototype and actual classes accesed sequentially, so we can using Back-Forward hotkeys ALT+LEFT and ALT+RIGHT to switch between them, but the problem left - we have only one active screen at time.

Is there a more clever way to get functionality that I need?

Answers


I think that @Nos explains the more accurate solution, but if you need to have two active editors at the same time... You only need to open the both files, and then "detach" one of the tabs, or move it to another editor.

To move a tab to other editor window, you only need to click on the tab title and drag it to another position. It will automatically created another editor window.


you can click on source file tab and right click-> then select new editor. you will get duplicate tab there. after that click on that and drag to any direction and you will get two different frames for file


Need Your Help

Unable to get THREE.Raycaster to intersect THREE.PointCloud

javascript graph 3d three.js

I'm attempting to get click events working on my WebGL based 3D graph library called Graphosaurus. You can see my attempt here. I'm using this example as a template. Is it not working because I'm...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.