In This video, we are going to show how we can generate our own custom code snippet in sublime text.
Code snippets are very helpful in speeding up the act of writing code by providing a quick way to insert block of text that show up repeatedly in a project.
There are various parts of a snippet:
Content: Actual block of text that is going to be extended bu the tab trigger(The text through which the snippet is triggered)
Field Markers: With the help of field markers, we can cycle through positions within the snippet by pressing the Tab key.
Placeholders: We can also define the default values for a field by using placeholders.