Skip to content

Instantly share code, notes, and snippets.

@yudistiraashadi
Last active November 17, 2021 06:05
Show Gist options
  • Save yudistiraashadi/0a3ff201876553ed9bcf72ede2e73ff0 to your computer and use it in GitHub Desktop.
Save yudistiraashadi/0a3ff201876553ed9bcf72ede2e73ff0 to your computer and use it in GitHub Desktop.
CSS comments snippet for VS Code
{
"comment": {
"prefix": "comment",
"body": [
"/** ${1:Comment} */"
],
"description": "Single comment block"
},
"comment-super-section": {
"prefix": "comment-super-section",
"body": [
"/*==========================================================================================",
"= ${1:Section comment block} =",
"==========================================================================================*/",
"${2}",
"/*============================ End of ${1:Section comment block} ============================*/",
],
"description": "Comment: Full super sections"
},
"comment-super-section-header": {
"prefix": "comment-super-section-header",
"body": [
"/*==========================================================================================",
"= ${1:Section comment block} =",
"==========================================================================================*/"
],
"description": "Comment: Super sections header"
},
"comment-super-section-footer": {
"prefix": "comment-super-section-footer",
"body": [
"/*============================ End of ${1:Section comment block} ============================*/"
],
"description": "Comment: Super sections footer"
},
"comment-section": {
"prefix": "comment-section",
"body": [
"/*=============================================",
"= ${1:Section comment block} =",
"=============================================*/",
"${2}",
"/*===== End of ${1:Section comment block} ======*/"
],
"description": "Comment: Full sections"
},
"comment-section-header": {
"prefix": "comment-section-header",
"body": [
"/*=============================================",
"= ${1:Section comment block} =",
"=============================================*/"
],
"description": "Comment: Section header"
},
"comment-section-footer": {
"prefix": "comment-section-footer",
"body": [
"/*===== End of ${1:Section comment block} ======*/"
],
"description": "Comment: Section footer"
},
"comment-subsection": {
"prefix": "comment-subsection",
"body": [
"/*---------- ${1:Subsection comment block} ----------*/"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment