If you are using Visual Studio Code editor for coding your extension, we have something to offer you. The following snippet files is created to make your experience easier.
Download the file containing the snippets here
When you unzip the file you will see a file of type
jsonc. This file contains the configuration of the snippets.
Head over to VSCode settings and go into the user snippets option.
Here you will have two options. If you want to create the file only for the current project, select the option to create a new snippet file for the particular project. Otherwise, select to create a new snippet file globally.
Give it the name you prefer, and within the file replace what appears as default with the content of the downloaded file.
That's all! Enjoy using our features easily.