Arun and I have made a lot of progress with the Couchbase/NetBeans integration. Since the recording of part 3 of the series (which we did during Jfokus in Sweden), in the GitHub repo I've committed a bit of code since yesterday and now double-clicking a value in a bucket will cause NetBeans IDE to find the related statement in the open JSON document. So, below, I am double-clicking on a node in the Couchbase hierarchy and I can then immediately see the matching line in the editor, while if that line was somewhere way down in the document, the document would scroll automatically to that line.
The related code for this is here:
Next, I need to do it the other way round. I.e., add some kind of listener that will find the matching node when a line is selected in the editor.