Front-end development artifact sublime code emmet quick writing configuration file storage location, sublimeemmet
1. Open the path for installing sublime
2. Find the following path Data \ Packages \ Emmet \ emmet \ snippets. json.
3. Open the snippets. json file with sublime, and you will be able to see the configured emmet shortcut key. You can manually change it. Remember to restart sublime to make it take effect.
Open files such:
How to Write margin: 0 auto in sublime text Using emmet;
Margin: 0 atuo;
Can't you press "m0" by tab?
If not, you can modify and add or delete shortcuts.
Open Data \ Packages \ Emmet \ emmet \ snippets. json
This file is preceded by a shortcut key and followed by the output content. For example, you need to add padding: 0 0 30px;
Add a row in it, for example, "pl30": "padding: 0 0 30px ;"
The vertical line in it | it represents the position of the cursor, hoping to help you.
How can I use the emmet plug-in sublime text2 to write css without line breaks?
There is no way to keep the line feed for the Emmet plug-in. But you can merge multiple lines of css into one line by combining the line command (useful when compressing code): Ctrl + J