Last active
March 17, 2022 01:10
-
-
Save Ambratolm/5ce1e2495ae2b1b6eb73640c78982653 to your computer and use it in GitHub Desktop.
Special comments snippets for Sublime Text.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
# How to use: | |
• In Windows, Place the .sublime-sinppet files inside the "%AppData%\Sublime Text\Packages\User" folder. | |
• "%AppData%" refers commonly to "C:\Users\<WinUserName>\AppData\Roaming". | |
# Preview: | |
══════════════════════════════════════════════════════════════════════════════ | |
■ Main-Title (file-name.js) | |
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ | |
Description. | |
══════════════════════════════════════════════════════════════════════════════ | |
────────────────────────────────────────────────────────────────────────────── | |
● Section-Title | |
────────────────────────────────────────────────────────────────────────────── | |
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ | |
♦ Class-Section-Title | |
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ | |
────────────────────────────────────────────────────────────────────────────── | |
► Exports | |
────────────────────────────────────────────────────────────────────────────── | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<!--═════════════════════════════════════════════════════════════════════════--> | |
<!-- ■ ${1:Title} (${2:FileName}.html) --> | |
<!┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈> | |
<!-- ${3:Description}. --> | |
<!--═════════════════════════════════════════════════════════════════════════-->]]></content> | |
<description>Main Comment</description> | |
<tabTrigger>//m</tabTrigger> | |
<scope>text.html.basic</scope> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[<!─────────────────────────────────────────────────────────────────────────────> | |
<!── ● ${1:Title} ──> | |
<!─────────────────────────────────────────────────────────────────────────────>]]></content> | |
<description>Section Comment</description> | |
<tabTrigger>///</tabTrigger> | |
<scope>text.html.basic</scope> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[//╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ | |
// ♦ ${1:Title} | |
//╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌]]> | |
</content> | |
<description>Class Section Comment</description> | |
<tabTrigger>//c</tabTrigger> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[//────────────────────────────────────────────────────────────────────────────── | |
// ► Exports | |
//────────────────────────────────────────────────────────────────────────────── | |
module.exports = ${1:object}]]></content> | |
<description>Exports Comment</description> | |
<tabTrigger>//x</tabTrigger> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[//══════════════════════════════════════════════════════════════════════════════ | |
// ■ ${1:Title} (${2:file-name}.js) | |
//┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ | |
// ${3:Description}. | |
//══════════════════════════════════════════════════════════════════════════════]]></content> | |
<description>Main Comment</description> | |
<tabTrigger>//m</tabTrigger> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[//────────────────────────────────────────────────────────────────────────────── | |
// ● ${1:Title} | |
//──────────────────────────────────────────────────────────────────────────────]]> | |
</content> | |
<description>Section Comment</description> | |
<tabTrigger>///</tabTrigger> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment