css-comments-sublime-snippets icon indicating copy to clipboard operation
css-comments-sublime-snippets copied to clipboard

Sub section Alternative

Open surjithctly opened this issue 9 years ago • 1 comments

I don't want that Subsection to be that much long. Instead something like this

/* 
 Compact Sub Section
 ------------------- */

It would be great if you can add this. Also, is there any way I can add this manually?

surjithctly avatar Jun 28 '15 13:06 surjithctly

Hey @surjithctly

You can create in Sublime Text the file: comment-compactsubsection.sublime-snippet

... and add this code:

<snippet>
    <content><![CDATA[
/* 
 ${1:comment}
 ------------------- */
]]></content>
    <tabTrigger>c-compactsubsection</tabTrigger>
    <scope>source.css, source.scss, source.sass, source.less, source.styl, source.php</scope>
    <description>Compact Sub-section Comment</description>
</snippet>

See this link: [Sublime Text Documentation for Snippets](Sublime Text Documentation for Snippets), here look how save this file.

brenopolanski avatar Jun 28 '15 21:06 brenopolanski