Emmet customization: for example, input vd and press the shortcut key to output var_dump (); formerly known as zen coding, now called Emmet, how to add your own defined quick input?
For example:
Enter vd and press the shortcut key to output var_dump ();
Where is this custom defined?
There are not many such articles and tutorials on the Internet, but they are all about how to use them. Do you know how to use it frequently?
Reply to discussion (solution)
Locate EmmetNPP \ emmet \ snippets. json under the plug-in directory.
Open modification
Click the menu command: Preferences (left of the last help)-> Browser packages-> php to enter the php directory, you will see a bunch of snippet, yes, you need to add the function here. Copy any file and modify the file name and rules as needed.
According to the landlord scene, if it is var_dump that is like this, File name: var_dump.sublime-snippet, the content inside:
var_dump($1);
Vd
Source. php
Var_dump
I think you should have added the rest. Such as html, js, and SQL.
I have a simple guide page for sublime projects on github. it is just a lazy promotion, and few people know it.
Https://github.com/jikeytang/sublime-text