Code-snippets missing from dropdown in Function Editor
See original GitHub issueWhat are the steps to reproduce?
Open the function node editor. Start typing “for” as in a for-loop. Press ctrl+space in order to activate code-snippets dropdown.
What happens?
Dropdown is only populated by keywords, variables ect. No code snippet/templates are shown
What do you expect to happen?
Code-snippets should be present in dropdown menu.
As per https://discourse.nodered.org/t/js-editor-code-completion-templates/20863/6 it is due to missing snippet support in the current custom version of the JavaScript Mode.
Please tell us about your environment:
- [1.0.3 ] Node-RED version:
- [ v8.17.0] Node.js version:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Snippets in Visual Studio Code
To create or edit your own snippets, select User Snippets under File > Preferences (Code > Preferences on macOS), and then select the...
Read more >Missing snippets in IntelliSense - Martin Zikmund
In Visual Studio, go to Tools – Options. Go into Text Editor – C# and select the IntelliSense section. Now check the Snippets...
Read more >Visual Studio Code user snippets not working - Stack Overflow
Go to settings (Windows/Linux: File > Preferences > Settings, macOS: Code > Preferences > Settings) and type in quick in search box and...
Read more >Use the Code snippet web part - Microsoft Support
Go to the page where you want to add the Code snippet web part. · If your page is not already in edit...
Read more >How to create code snippets in Xcode - Sarunw
To edit a snippet, open Code Snippets Library and select a snippet that you want ... token where you can navigate and input...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
still pre-coffee
I’ve added back the javascript snippets to the custom
nrjavascript
mode we use.I’ve removed some of the ones that aren’t relevant to the Function node, as well as adding in some NR specific ones:
and others.
Will be in 1.0.4