# Compare code from editor

**URL:** <https://forums.toadworld.com/t/compare-code-from-editor/42132>\
**Category:** Idea Pond\
**Created:** [January 18, 2017, 5:00pm UTC](https://forums.toadworld.com/t/compare-code-from-editor/42132 "2017-01-18T17:00:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jchirco](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jchirco](https://forums.toadworld.com/u/jchirco)\
**Post date:** [January 18, 2017, 5:00pm UTC](https://forums.toadworld.com/t/compare-code-from-editor/42132/1 "2017-01-18T17:00:51Z")

</div>

I would like to be able to take the current open procedure/package/function either opened from a database or a file and compare to the current database or any other database all within the Editor. &nbsp;I currently have this feature in PL/SQL Developer and I use it many times throughout the day. &nbsp;Often people give me a bunch of files to review and I like to open them all up and then for each one I do a compare to my database to review changes. &nbsp;Or when I change something I like to review my changes before I compile.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [October 4, 2018, 1:04pm UTC](https://forums.toadworld.com/t/compare-code-from-editor/42132/2 "2018-10-04T13:04:36Z")

</div>

Right-Click in the Editor, choose “Compare to”. Your options are database object, file, or another editor tab.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [October 5, 2018, 7:46pm UTC](https://forums.toadworld.com/t/compare-code-from-editor/42132/3 "2018-10-05T19:46:20Z")

</div>

Closed on October 5, 2018, 7:46pm UTC


