-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from teach4hrs/main
custom code snippets
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Do you know how to add your own code snippets in Visual Code Studio? If your answer is *no* then this blog will help you to do this. so let's read this blog post & increase your coding productivity by 10 times 🖐🔥. | ||
|
||
So, you have to open your **VS Code** editor & click on the setting icon. | ||
|
||
|
||
|
||
|
||
|
||
|
||
after that, you have to click on *configure **user snippets*** | ||
|
||
|
||
|
||
|
||
now select the language in which you want to add the **code snippet** | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
now go to [https://snippet-generator.app/](https://snippet-generator.app/) & paste your codes in the box as mentioned here & copy the snippet. add the shortcut in the shortcut box as shown in the image. | ||
|
||
|
||
|
||
|
||
|
||
|
||
now go to the VS Code: settings>configure user snippets>select the language>paste the code & save(*ctrl+s*) this. | ||
|
||
|
||
|
||
|
||
|
||
|
||
that's it you are ready to use your code snippets in VS code by simply typing the shortcut. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Thanks for reading this blog. & if you love this blog don't forget to comment below. |