Diff/merge tool for function nodes code

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

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 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)

3 Likes