Gists
Share snippets through GitHub Gists.
Export Snippets to Gist
This feature an alternative to the Export Snippets feature.
- Choose
Export Snippets to Gistin the three-dot menu of Locations Manager or runsnippetstudio.github.exportin the command prompt - Pick a filename
- Choose snippet files to export
- For each snippet file: choose snippets to export
- Optional - type a description
A popup will give you the option to view the created gist on github. Copy the URL and send to a friend so they can import it as described below.
Import Snippets from Gist
You can import recognized snippet files from GitHub Gists.
- Choose
Import Snippets From Gistin the three-dot menu of Locations Manager or runsnippetstudio.github.importin the command prompt - Input a gist id, share url, or clone url
- Choose a location to save the file(s)
- Downloads
- Global snippets folder
- Local snippets folder
Disabling the default snippetstudio.gists.onlySnippets configuration setting will pull ALL files, not just snippet files.
Browse Snippet Gists
When gists are created with this extension, the description field is edited. If left untouched, users can see snippets created and shared with SnippetStudio.
Command: snippetstudio.github.browse