Rapid or fast development in Sublime Text 3

We, developers like to write codes, but what if you need to write 1000000000 lines of code?
Let me know your answer on comment 😉

Here comes snippet, What is snippet?
Snippet a small piece or brief extract. it’s a brunch of code that is generate by shortcut key.

Now we know create some snippets for faster our development time. And we need function every where, so we will create a snippet, that we dont need to write same code again and again

Step-1: Open Subline
Step-2:Tools > Developer > New Snippet, Now you will get a file like this

Step-3: Update the codes with below codes

Look at the underline area the function is public and we use ${1} and ${2}. what does it mean?

Continue….

Advertisements