- The code blocks that make up your snippet.
- The example usage for your snippet.
- The documentation for your snippet (editable as Markdown).
Editing Your Snippet’s Settings
Currently, the following fields can be edited on a snippet:- The name of the snippet.
- The project the snippet belongs to.
- The tags for snippet (used by Parrot when searching existing snippets).
- The keyboard shortcut you’d like to use in your IDE (automatically assigned when copying or exporting your snippets for your IDE).
Copying a Snippet for Your IDE
While the recommended way to copy snippets for your IDE is to use the Export IDE Snippets feature (so you can export all of your snippets as a single file), you can optionally copy an individual snippet via the snippet editor. Above the code input for your snippet, click the icon for your IDE (currently, Parrot supports VSCode snippets and Sublime Text completions).
Using Cursor? Choose the VSCode option! Cursor is built on top of VSCode and supports its existing snippet format.
Deleting a Snippet
If you no longer need a snippet—or want to clear up space for new snippets—you can delete a snippet via the snippet editor. Open the snippet you’d like to delete and scroll down to the bottom of the editor and click the “Delete Snippet” link on the right side of the red warning text. Parrot will confirm that you want to delete the snippet before deleting it.Snippet deletion is permanent. Make sure that you really want to delete your snippet before you confirm deletion.