The Copyright Inserter is a VS Code extension that adds a copyright and license header into editing files. The development was inspired by addlicense and autogen tools and comes to simplify the process of adding copyright and license into files during development by integrating with one of the most popular development environments.
When the extension command is invoked in the editor, a copyright and license header is inserted at the top of the file.
The extension captures the current language mode of the editor and uses the language configuration to decide where to insert the header and how to decorate it.
The header is usually inserted into the first line. However, for language modes such as
The extension can be invoked by typing
This extension adds the following settings into
Initial release of the Copyright Header Inserter. Supports adding copyright header to any file for which the Language Mode defines comments.
Fixes a problem when the copyright and license header is already present in a file.
Fix a bug that caused ignoring the extension settings. Format languages with /**/ block comment to prefix all lines in the header with *.
Fix a bug that caused to fail if vscode language configuration is JSON with comments.
Change invocation command from
Update Apache license URL schema from