vymarkov / licence-snippets

Licence VSCode Snippets

Home Page:https://marketplace.visualstudio.com/items?itemName=benemohamed.licence-snippets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Licence logo

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

  1. Fork it (https://github.com/benemohamed/licence-snippets/fork)
  2. Create your feature branch (git checkout -b my-new-licence)
  3. Commit your changes (git commit -am 'Add some licence')
  4. Push to the branch (git push origin my-new-licence)
  5. Create a new Pull Request