Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>CodeHeaderNew to Visual Studio Code? Get it now.
CodeHeader

CodeHeader

xiaokangtu

|
3,160 installs
| (1) | Free
An extension for quickly insert header comment.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

codeheader README

An header comment extension for vscode.

Features

An header comment extension for vscode, and supports automatic update file modification time.

For example:

javascript

feature 3

python

feature 3

others languages: lua, ruby, latex, lisp ...

Quick Insert Header Comment.

feature 1

Auto Update Header Comment.

Tip: shift+alt+i You can insert comments in the head, ctrl+s After you save the file, and automatically update the time and author.

Configuration

This extension contributes the following settings:

  • codeheader.author: Your name, it will be set to git user.name if not provided.
  • codeheader.email: Your email address, it will be set to git user.email if not provided.
  • codeheader.copyright: true/false to insert extension
  • codeheader.copyrightOwner: Your copyright owner, it will be set to codeheader.author if not provided.
  • ...

You can DIY the header comment by setting:

Release Notes

Users appreciate release notes as you update your extension.

0.0.1

  • Fisrt release.
  • Insert header comment.
  • Auto update header comment.
  • Add copyright comment options.

0.1.2

  • enable copyright default.
  • remove unused image files.

0.1.3

  • fix error format when not use copyright.

0.1.5

  • fix readme.
  • fix windows support.

0.1.7

  • update the format of js comment.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft