Home >Development Tools >sublime >Share tips for customizing snippets in sublime3
The following tutorial column of sublime will introduce to you the method of sublime text3 to turn off the prompt update. I hope it will be helpful to friends who need it!
About Snippets
In the programming process, you will always encounter a lot of repetitive work, such as Define a method, debug code, etc.
snippets are used to solve this part of the work, and can solve a lot of time
How to customize in sublime?
tools->new snippets
New file format
Only two items are required
1.CDATA [] The format in brackets needs to be fixed
2.tabTrigger uses the TAB key to call the snippets string or index
After writing, save it in (windows) Preferences-> ;Browse the Packages directory and end it with the .sublime-snippet suffix
content definition tips
{numeric number} can get a TAB Placeholder
{1:default} can get a default value
$ can get the $ character
The above is the detailed content of Share tips for customizing snippets in sublime3. For more information, please follow other related articles on the PHP Chinese website!