Front-end development artifact sublime code emmet quick writing configuration file storage location, sublimeemmet

Source: Internet
Author: User

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
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.