This is Licence Snippets README
This Extensions provides the full text (for LICENCE files) as well as
the recommended header text for several popular open-source licences
Install
Manual Install
Go to the git and download folder, then copy the files in the folder to the path directly:
- Mac:
/Users/$HOME/Library/Application Support/Code/User/extensions/
- Windows:
< your-installed-driver > :\Users\ $HOME \AppData\Roaming\Code\User\extensions\
- Linux:
/home/$HOME/.vscode/extensions
Through VS Code Extensions
- From website: Go to Visual Studio Code Marketplace, and search 'Licence Snippets', then click the install button.
- From VS Code: click extensions sidebar, and search 'Licence Snippets', then click the install button.
Usage
To insert, for example, in a source file type licence_ and choose Licence.
List open source licences
- AGPL-3.0.full
- AGPL-3.0.header
- Apache-2.0.full
- Apache-2.0.header
- Artistic-2.0.full
- BSD-2-Clause.full
- BSD-3-Clause.full
- EPL-1.0.full
- EPL-1.0.header
- GPL-2.0.full
- GPL-2.0.header
- GPL-3.0.full
- GPL-3.0.header
- ISC.full
- LGPL-2.1.full
- LGPL-2.1.header
- LGPL-3.0.full
- LGPL-3.0.header
- MIT.full
- MPL-2.0.full
Contributing
- Fork it (https://github.com/benemohamed/licence-snippets/fork)
- Create your feature branch (
git checkout -b my-new-licence )
- Commit your changes (
git commit -am 'Add some licence' )
- Push to the branch (
git push origin my-new-licence )
- Create a new Pull Request
| |