Dreamweaver CC 2017 emmet filters & preferences
How can I go about editing the emmet filters and preferences?
Specifically, what I'm looking to edit is the coment tag filter. An example:
body+c>#container+c>span.label+c
should will expand out to:
<body>
<div id="container">
<span class="label"></span>
<!-- /.label -->
</div>
<!-- /#container -->
</body>
<!-- /body>
This is defined in the emmet preferences by the filter.commentAfter property, which defaults to:
'\n<!-- /<%= attr("id", "#") %><%= attr("class", ".") %> -->'
I would like to change this filter to
' <!-- <%= attr("id", "#") %><%= attr("class", ".") %> -->'
This will accomplish 3 things:
- Get rid of the carriage return in the comment and place it on the same line as the closing tag
- Put a space between the closing tag and the comment
- get rid of the forward slash prior to the entity name
However, I see no option within Dreamweaver to configure this, and cannot see where the preferences.json would go to extend this functionality as intended.
