Create a fresh new branch
Working on a separate branch for each issue helps you keep your local work copy clean. You should never work on the main. This will soil your copy of QuickSnippets and you may have to start over with a fresh clone or fork.
Avoid using issue numbers in branches. Keep them short, meaningful and unique.
Make sure you follow the following steps
Create a new file in snippets folder according to language or library (The name of the file should be related to the function of the snippet) save the file with .code-snippets extension
Write code for your snippet contribution. The snippet object must have following attributes a. Prefix (short word to generate the code snippet) b. Body (Body of the code snippet) c. Description (Info. about the code snippet)
Add the snippet file in the package.json file with appropriate path
Test the extension locally. For for Windows Go to < user home >/.vscode/extensions and paste the quick snippets folder and restart the VS code
Commit the changes git commit -m "Commit message"
Push the changes to your fork and open a pull request