# Diff/merge tool for function nodes code

**URL:** <https://discourse.nodered.org/t/diff-merge-tool-for-function-nodes-code/44021>\
**Category:** Feature Requests\
**Created:** [12 April 2021 08:53 UTC](https://discourse.nodered.org/t/diff-merge-tool-for-function-nodes-code/44021 "2021-04-12T08:53:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [12 April 2021 09:47 UTC](https://discourse.nodered.org/t/diff-merge-tool-for-function-nodes-code/44021/3 "2021-04-12T09:47:56Z")

</div>

Hi.

Once we have access to monaco (the same code editor used by VSCode) in the editor, it will be fairly trivial to achieve an inline diff. Obviously implementation and effort vs benefit would need to be assessed.

NOTE: I'm not sure if ACE has this capability

Example of [inline diff in monaco](https://microsoft.github.io/monaco-editor/playground.html#creating-the-diffeditor-navigating-a-diff)

The current state of monaco for node-red is that it is generally excepted by Nick as a possible V2 feature (obviously many details still to be ratified). The main thread is [here](https://discourse.nodered.org/t/using-monaco-editor-monaco-branch-now-in-fork-pr-2798/26561/98) if you are interested.

The monaco branch It is currently up to date with current dev branch (as of yesterday anyhow - things move fast & I do have a day job)

---

_[View the full topic](https://discourse.nodered.org/t/diff-merge-tool-for-function-nodes-code/44021)._
