JS editor code completion / templates

No. @aolsendk is referring to the 'snippets' support in the editor.

I agree, the snippets aren't there in Node-RED 1.0. Snippets are still enabled by default and the snippet files are all there - node-red/packages/node_modules/@node-red/editor-client/src/vendor/ace/snippets at master · node-red/node-red · GitHub

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.

4 Likes