Snippets
The Snippets Panel#
The Snippets panel makes it easy to find and insert common snippets of code into your scripts.
Snippets#
The extension ships with a set of snippets for commonly used functions. To insert a specific snippet simply click on it, and it will be inserted at your current cursor position.
My Snippets#
You can also manage your own snippets to the My Snippets section of the Snippets panel.
Save a Custom Snippet#
- Highlight the lines of code you want to save as a snippet
- Click the + icon in the Snippets Panel header
- Give the snippet a unique name
Remove a Custom Snippet#
- Right click on the custom snippet
- Click Remove Snippet
Note: Only custom snippets can be removed from the Snippets panel.
Clear all Custom Snippets#
- Click the three dot (...) menu in the Snippets panel header
- Click Clear My Snippets