SublimeText / sublime_lib

Utility library for frequently used functionality in Sublime Text and convenience functions or classes
https://sublimetext.github.io/sublime_lib
MIT License
52 stars 4 forks source link

sublime_lib

A utility library for Sublime Text providing a variety of convenience features for other packages to use.

Installation

To make use of sublime_lib in your own package, first declare it as a dependency of your package. Create a file named dependencies.json in the root of your package with the following contents:

{
    "*": {
        "*": [
            "sublime_lib"
        ]
    }
}

Once you have declared the dependency, open the command palette and run Package Control: Satisfy Dependencies to ensure that sublime_lib is installed and available for use.

Then, anywhere in your package, you can import sublime_lib by name:

import sublime_lib

Features

For complete documentation of all features, see the API documentation.

Highlights include: