Skip to content

Repository files navigation

Outer Comments

Two block-comment snippets for C-family languages (anything that supports /* */ comments: JS, TS, JSX/TSX, C, C++, C#, Java, Go, Rust, PHP, CSS/SCSS/LESS, Swift, Kotlin, Dart, Objective-C/C++, Scala, Groovy).

Snippets

outercomment

An 80-character-wide, 5-line block comment with the text vertically centered:

/*******************************************************************************
*
* comment
*
*******************************************************************************/

innercomment

A 76-character-wide, 3-line block comment, meant to be triggered after you've already indented one level (the snippet itself doesn't add indentation — your editor's auto-indent handles that):

    /***************************************************************************
    * comment
    ***************************************************************************/

Type the prefix, hit Tab/Enter to expand, then type over the comment placeholder.

About

Block-comment snippets for VS Code, with a sidebar view to jump between them.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages