You will need to create what is known as an override for that snippet file. Override refers to your version of the default shipped files that will be used by Sublime Text in place of it’s default file.
To create an Override, you will need to know what file you have to override. In Sublime Text, you can do this by using View Package File
from the command palette.
In your case, you want to override a JavaScript snippet file. All the snippets for JavaScript are in JavaScript/Snippets
. Find the file name of that snippet. For brevity’s sake, let the file name be example_snippet.sublime-snippet
.
So now create JavaScript/Snippets/example_snippet.sublime-snippet
in the Packages
directory, place the snippet content there, edit the portion you want & save it. You should now get this snippet content every time you use it instead of the default one.