As far as i remember from earlier versions ~0.15->0.18, whenever i was editing javascript in the function node editor, i could press ctrl-space and get a dropdown with code-templates. Not just keywords, but full code templates with many examples of typical code patterns; for-loops, switch-structures ect.
I cannot find any hotkeys, documentation, config-settings, or anything in this regard. Also I cannot make Internet come up with any information on this.
Is my memory that bad, or is the function removed and nobody talks about it?
I am extremely sure it was a feature in earlier versions of node red. I think i will have to find an earlier version just to prove i am not loosing my mind
Ahhh - as I write this I realise what has happened. We introduced a custom version of the standard JavaScript mode for the Function node so it would be aware of the Node-RED specifics. But that mode doesn't include any snippets.
Please raise an issue and we can update the custom mode to include snippets.