Table of Contents
License Header Manager
The License Header Manager allows you to quickly add license headers to your project files. If the license header already exists, it is overwritten so the license header does not always have to be removed to update it. The License Header Manager offers many different ways to create your license header.
Adding support for your language
We're supporting a bunch of languages out-of-house, but if you want you can add some at yourself:
First go to your
These are the default values for the most common languages.
Customizing License Headers
LICT (License Template)-Files contains the license header for your files:
Press Ctrl+Shift+P and type 'Create new License Template'. The input the file type you want to create a template for (with or without dot).
The default template describes the possible replacements:
To edit LICT-Files you can go to your workspace folder under '.vscode' and 'templates' the LICT-files are located.
Or you can edit the files using Ctrl+Shift+P and 'Edit License Templates'. Then select the license file you want to edit.
Inserting License Headers
Press Ctrl+Shift+P and type 'Add license headers'. This will add the license header templates to your files.
No matter how often you insert your license headers the license header will be inserted only once. When you edit your license header you can run the command again and the license header updates.
To exclude files you can add the following to your
The above will exclude
To exclude folders you can add the following to your
The above will exclude all files that have a 'node_modules' in their path:
LICT-File Replacement Suggestion
In LICT-Files the available license header replacements are suggested when you type a '%':
In LICT-Files all valid replacements are highlighted orange.