This is a simple extension based on license-injector which seems to be not active.
Right now it only suppports adding a copyright text on top of following files:
- html
- js
- jsx
- ts
- tsx
This extension has two options:
- Inject copyright notice on top of currrent file
- Inject copyright notice on top of all files (only the ones that are currently supported by this plugin).
For example if there is an image subfolder under your extension project workspace:
![feature X](images/feature-x.png)
This extension contributes the following settings:
copyrightInfo.company
: add the name of the company that will be injected in the copyright template. Can put your name in it as well.copyrightInfo.ignore
: A comma-delimited string of folders to ignore in file paths.copyrightInfo.matchPattern
: A pattern to find all files. Defaults to '*/ which is equivalent to all files
Steps:
- Ctrl/Cmd + shift + P or F1
- Select, Copyright Injector: Inject in current file
- Save file
Please make sure that you have proper configurations entered in the workspace/user settings for this to work. Otherwise the extension will take default values.
Steps:
- Ctrl/Cmd + shift + P or F1
- Select, Copyright Injector: Inject in all files
Please make sure that you have proper configurations entered in the workspace/user settings for this to work. Otherwise the extension will take default values.
Please use GitHub to report issues and also to request enhancements.
- Check if copyright already exists, then skip the file.
- Implement extensions' actions when the extension is deactivated.
- Implement support for more than just ts files.
- add more unit tests.
Initial release.