Skip to content

Files

Latest commit

 

History

History
79 lines (52 loc) · 1.05 KB

README.md

File metadata and controls

79 lines (52 loc) · 1.05 KB

vscode-js-comment-snippets

A port of the famous Sublime Snippets package for VSCode

Working for:

  • Javascript
  • Typescript
  • React
  • Vue

Comments Examples

JS-Style Comments

Section

Tab trigger: comm-section + tab

/*=============================================>>>>>
= Section comment block =
===============================================>>>>>*/
 
 
 
/*= End of Section comment block =*/
/*=============================================<<<<<*/

Subsection

Tab trigger: comm-subsection + tab

/*----------- Subsection comment block -----------*/

Tab trigger: comm-subsection-start + tab

/************ Subsection comment block ************/

Simple Comment

Tab trigger: comm + tab

/* Comment */

Block Comment

Tab trigger: comm-block + tab

/**
 *
 * Block comment
 *
 */

Todo Comment

Tab trigger: comm-todo + tab

/**
 *
 * TODO:
 *	- First todo item
 *	- Second todo item
 *
 */