Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>mic-snippetNew to Visual Studio Code? Get it now.
mic-snippet

mic-snippet

longfeng

|
107 installs
| (0) | Free
mic-snippet
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mic-sniptes

feature

Add notes to the file header, and supports automatic update file modification time.

eg:

/*
 * @Author: longfengzhang
 * @Date: 2021-04-22 16:55:19
 * @Last Modified by: longfengzhang
 * @Last Modified time: 2021-04-22 17:13:44
 * @Description: Description
 */

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

install

Press F1,typeext install mic-snippet.

Configuration

In the User Settings inside, set and modify the creator's name & email.

"mic-snippet.Author": "longfeng",
"mic-snippet.LastModifiedBy": "longfeng"

hot key

ctrl+alt+i You can insert comments in the head.(windows)

control+option+i You can insert comments in the head.(Mac)

Change log

1.0.0

  1. Support hotkey insert header comments
  2. Support Save file, automatically update the time
  3. Support the configuration and update the creator's name

task

[] 1. add template

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft