Copyright InserterThe 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. The extension supports Apache 2.0, MIT and BSD licenses. FeaturesWhen 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 DemoExtension SettingsThis extension adds the following settings into
Known IssuesNone Release Notes1.0.0Initial release of the Copyright Header Inserter. Supports adding copyright header to any file for which the Language Mode defines comments. 1.0.1Fixes a problem when the copyright and license header is already present in a file. 1.0.2Fix a bug that caused ignoring the extension settings. Format languages with /**/ block comment to prefix all lines in the header with *. 1.0.3Fix a bug that caused to fail if vscode language configuration is JSON with comments.
Change invocation command from 1.0.4Update Apache license URL schema from 1.0.5Configure extension to run as UI extension on the local environment when remote environment / containers are used. 1.0.6Add option always select one line comment. Support languages without comments. |