Sublime Forum

Name that file

#1

I’d like to know what file type or name I am copying to under the Package Settings/ Emmet/ Settings User.

I am copying this code text to enable the appending of a class or id to a

{
// Emmet preferences
// List of all available preferences:
“preferences”: {

	// Format the comments after things the way I like - GRB
	"filter.commentAfter": " <!-- <%= attr(\"id\", \"#\") %> <%= attr(\"class\", \".\") %> //-->"
},

"syntaxProfiles": {
	// Enable XHTML dialect for HTML syntax
	// “html”: “xhtml”
	"html" : {

		// force comments to always appear
		"filters" : "html, c"
	}
}

}

I’ve been referred to this page - https://docs.emmet.io/filters/ where, if you scroll down, you’ll see it included on that page.

Now don’t have a cow, but sometimes I use Brackets when I have more than one file open and would like to include that capability, but need to know the file type (JSON, JS?) in order to do so.

For that matter, I’d like to use it in Atom.io too.

So if anyone can help I’d like to hear from you.

Dave

0 Likes