Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Automated Copyright Header GeneratorNew to Visual Studio Code? Get it now.
Automated Copyright Header Generator

Automated Copyright Header Generator

Sarfraj Ansari

|
122 installs
| (0) | Free
Automatically add your copyright header whenever new files of defined file types are created.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copyright Header Injector

copyright-header-injector is a tool that automatically injects copyright headers into your source code files.

Installation

To install the copyright-header-injector, you can use the following command:

npm install -g copyright-header-injector yarn global add copyright-header-injector

Usage

After installation, you can use copyright-header-injector in your project. You can update the

Configurations

You can configure the copyright text to be inserted into new files by updating the copyright-header-injector.copyrightText property in your VS Code settings.

Here's how you can do it:

Open the Command Palette with Ctrl+Shift+P or Cmd+Shift+P on Mac. Type Preferences: Open Settings (JSON) and select it. In the settings file, add or update the copyright-header-injector.copyrightText: Copyright of type string to be shown when new file is added. copyright-header-injector.fileTypes: filetypes of array of string where you can add the filetypes where these copyright would be added. For other filetypes copyright would not be added.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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