Skip to main content

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#

  1. Highlight the lines of code you want to save as a snippet
  2. Click the + icon in the Snippets Panel header
  3. Give the snippet a unique name

Remove a Custom Snippet#

  1. Right click on the custom snippet
  2. Click Remove Snippet

Note: Only custom snippets can be removed from the Snippets panel.

Clear all Custom Snippets#

  1. Click the three dot (...) menu in the Snippets panel header
  2. Click Clear My Snippets