css-comments-sublime-snippets
css-comments-sublime-snippets copied to clipboard
Sub section Alternative
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?
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.