Emmet for brackets disabling CSS browser prefixes

Source: Internet
Author: User

Emmet1 has the ability to automatically add CSS browser prefixes (vendor prefix).

For example, enter the following CSS (* to indicate the cursor position) in brackets:

div{
bgs*
Press the TAB key to expand the following,

div{
-webkit-background-size:
Background-size:

But I don't like it to claim it. I prefer to use Autoprefixer2 with Grunt.js or gulp.js to do processing, more controllable, and keep the source code clean.

So I need to disable this feature.

Emmet provides a configuration item: CSS.AUTOINSERTVENDORPREFIXES3, but under brackets, this configuration process is very tangled.
My system is openSUSE 13.1, the steps to disable are as follows:
/home/sam a new directory under the home directory Emmet (you'll have to build it somewhere else)
Adding Preferences.json files to the Emmet directory
Add the following code to the file: {"css.autoinsertvendorprefixes": false}
Open the brackets main interface of the Emmet menu, select Preferences ...
Fill in/home/sam/emmet in extension folder (cannot use ~/emmet)
Restart Brackets

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.