A function to add a new snippet from the clipboard content. It prompts the user for the snippet name, description, and visibility, then creates the snippet as a Gist on GitHub and adds it to the snippets provider.
The provider responsible for managing global snippets.
The provider responsible for managing workspace-specific snippets.
A boolean flag indicating whether workspace snippets are available.
A function to add a new snippet from the clipboard content. It prompts the user for the snippet name, description, and visibility, then creates the snippet as a Gist on GitHub and adds it to the snippets provider.