Git Product home page Git Product logo

sublime-licence-snippets's Introduction

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.

Feel free to submit an issue or pull request if there's a licence you'd like added.

Installation

Package Control

The easiest and best way to manage Sublime Text packages is with Package Control.

  1. Install Package Control if you haven't already.
  2. Choose Install Package from the command palette.
  3. Select Licence Snippets and press Enter. Easy.
Git

You can clone this repository into your Sublime Text Packages directory. You really should use Package Control, though.

Zip

You can download a zip file from here and extract it to your Sublime Text Packages directory. But seriously, just install Package Control.

Usage

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.

Configuration

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)

sublime-licence-snippets's People

Contributors

sijk avatar khornberg avatar breunigs avatar srouquette avatar michfield avatar qfel avatar

Watchers

James Cloos avatar Jerrar Bukhari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.