A function to add a new snippet based on user input, including snippet details and language. The snippet is then created as a Gist on GitHub and added to the snippets provider.
An array of available programming languages.
The TreeView that displays snippets.
The provider responsible for managing snippets.
The currently selected node (if any), used when the command is invoked via the context menu.
A function to add a new snippet based on user input, including snippet details and language. The snippet is then created as a Gist on GitHub and added to the snippets provider.