This extension allows you to quickly add code snippets to a repository for your team to benefit from.
- Select the code you want to turn into a snippet.
- Press
cmd+shift+p
(orctrl+shift+p
on Windows/Linux) to open the Command Palette. - Type
Create Workspace Code Snippet
and select the option from the list. - Choose a name for your snippet and press Enter.
- Your snippet will be saved in
.vscode/workspace.code-snippets
.
If you find any issues or have suggestions for improvement, please submit an issue or pull request on the GitHub repository.