Sublime Forum

Emmet Syntax Change Doesn't Work

#1

Using Emmet within ST3 html, I type h3.headline and I get

<h3 class=“headline”></h3>

I’d like to end up with single quotes, not double:

<h3 class=‘headline’></h3>

According to packagecontrol.io/packages/Emmet, I can define an extensions path in Emmet.sublime-settings for customizations. But I can’t get it to work.

Here’s what I did:

I created a file called syntaxProfiles.json which looked like this:

    {
      "html":
      {
           "attr_quotes": "single"
      }
     }

I saved it to a new folder, emmet-extensions, in my Packages / User directory.
In Emmet.sublime-settings, I put the following:

{
    "extensions_path": "~/Library/Application Support/Sublime Text 3/Packages/User/emmet-extensions/"
}

I closed and reopened ST. But the Emmet command shown above produces the same result. What am I doing wrong?

0 Likes