A simple package to add a OSS license to your file. It is inspired by atom-license and license-plus, but complete rewritten. It has no deprecations, includes 48 Licenses and a few features for customizing the license.
CTRL+SHIFT+P
(Windows and Linux) / CMD+SHIFT+P
(Mac)
Search for License and choose one you like
CTRL+SHIFT+P
(Windows and Linux) / CMD+SHIFT+P
(Mac)
Search for License: Update Year
This feature is enabled by default, but you can disable it in the package settings and with License: Toggle Copyright Line in the command palette. The Copyright Line looks like this:
COPYRIGHT (c) <YEAR> <NAME>
The package automatically inserts the current year and you can set the name in the package settings.
This feature is disabled by default, but you can enable it in the package settings and with License: Toggle Header in the command palette.
If you wanna add an addtional text (e.g. an Ascii art) you have to save this text in a file and enter the absolute path in the package settings.
The following licenses are included:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)'.source.coffee':
'license':
'prefix': 'license'
'body': """
$1: ->
@addLicense('$1')
"""
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.