Open source licence snippets for Sublime Text
- Total 3K
- Win 1K
- OS X 1K
- Linux 1K
|Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4||Feb 3||Feb 2||Feb 1||Jan 31||Jan 30||Jan 29||Jan 28||Jan 27||Jan 26||Jan 25||Jan 24||Jan 23||Jan 22||Jan 21||Jan 20||Jan 19||Jan 18||Jan 17||Jan 16||Jan 15||Jan 14||Jan 13||Jan 12||Jan 11||Jan 10||Jan 9|
Licence Snippets for Sublime Text
This package provides the full text (for LICENCE files) as well as the recommended header text for several popular open-source licences as Sublime Text snippets. It makes inserting licence text in your source files quick and easy.
The licences included in this package are all OSI-Approved.
The easiest and best way to manage Sublime Text packages is with Package Control.
- Install Package Control if you haven't already.
- Choose Install Package from the command palette.
- Select Licence Snippets and press Enter. Easy.
You can clone this repository into your Sublime Text Packages directory. You really should use Package Control, though.
You can download a zip file from here and extract it to your Sublime Text Packages directory. But seriously, just install Package Control.
To insert, for example, the MIT licence in a source file, open the command palette, type mit and choose Licence Snippet: MIT [Header] [Full Text] (or choose Licence Snippet: MIT [Header] [Full Text] from the snippets menu). The licence text will be inserted at the cursor. The copyright details (year, author, organization, etc.) will be highlighted in turn so that you can easily tab between them and modify them if necessary.
- Licences suffixed with [Header] are intended to be used in the header section of a file in your project.
- Licences suffixed with [Full Text] are ideally used to fill LICENCE or LICENCE.txt files.
Two settings are available to configure the behaviour of this plugin. To set them, choose Preferences > Settings - User and add a line for the setting you want to change.
- licence_comment_style = none, line, or block (default: line)
- licence_wrap_lines = True or False (default: False)
You can switch between system user name and your custom author name. - use_name = system or author (default: system) - author_name = your_name_here (default: add “author_name”: “your_name” in preferences->settings(user))