Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-file-author-headerNew to Visual Studio Code? Get it now.

vscode-file-author-header

赵文杰

|
1 install
| (0) | Free
A Tool To Generate Author Info
This extension is now unpublished from Marketplace. You can choose to uninstall it.

vscode-author-generator

A tool to generate Custom Author Info at the top of your file.

gif

Installation

Press F1 in VSCode, type ext install and then look for vscode-author-generator.

Features

  • Support multiple templates, js, css, html/htm file types are supported for now.
  • Support custom infomation, author name, email, date info is supported for now.
  • Add cmd+u keybindings for quick update.

Usage

Before Use

  • Preferences -> Settings, add author-generator.author and author-generator.email.

Commands

  • Generate Author Info - generate your author info right now.

Manage Custom Templates

1. Open extension directory and find vscode-author-generator

  • Windows: %USERPROFILE%.vscode\extensions{edwardhjp.vscode-author-generator-version}
  • Mac: ~/.vscode/extensions/{edwardhjp.vscode-author-generator-version}
  • Linux: ~/.vscode/extensions/{edwardhjp.vscode-author-generator-version}

2. Edit or add template file

  • vscode-author-generator use file suffix as template name. eg: js.tpl is the template for *.js files. if the specific template file doesn't exsit, default.tpl will be used.
  • if you want to add another template, just make sure the template filename is correct. eg: add a file named py.tpl in templates directory will make *.py files add this template info.
  • notice: [author], [email] will automatically replaced with infomation in your VSCode Configration.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft