Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compare selection with clipboard content

Lukas EderJan 31 2018 — edited Jan 31 2018

In Eclipse, when working with Java, I'm using the excellent AnyEdit Tools plugin by Andrey Loskutov. The most important feature for me is to be able to compare a selection in an editor with the clipboard content. This can be used, for example, to compare two blocks of code for similarity, to help assess how easy it is to refactor the blocks. Consider this code:

BEGIN

  call_some_procedure();

  call_some_other_procedure();

END;

BEGIN

  call_some_procedure();

  call_some_third_procedure();

END;

Now, I would like to select the first block, copy-paste it, select the second block, and compare the selection with the clipboard content to get a diff between the blocks only. I'd love to see that in SQL developer. Of course, there are other useful features in the AnyEdit plugin, but this one is my favourite.

This post has been answered by GregV on Jan 31 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 28 2018
Added on Jan 31 2018
2 comments
241 views