An open API service indexing awesome lists of open source software.

https://github.com/projectweekend/sublime-text-2-plugins

A collection of my custom Sublime Text 2 plugins
https://github.com/projectweekend/sublime-text-2-plugins

Last synced: over 1 year ago
JSON representation

A collection of my custom Sublime Text 2 plugins

Awesome Lists containing this project

README

          

Sublime-Text-2-Plugins
======================

### Personal Assistant Plugin

This is a task launcher for other custom plugins. The key combination `ctrl+shift+a` opens a text command box. The available commands correspond to **tasks** which are saved in the plugin's `/tasks` folder. Each of these task files is a Python file defining some sort of custom action in a class named: `PersonalAssistantTask`.

The `PersonalAssistantTask` object takes one input on `init`. The Sublime Text Plugin API will be passed in from the command launcher process so that it is accessible for crafting the functionality in the `PersonalAssistantTask`.

Naming of each Python file in the `/tasks` folder determines the text comand used to launch the task in the command box referenced above. For example a task file named `open_projects.py` would be launched with the command: `open projects`.

#### Current Tasks

* `open projects` - Display a list of all Sublime Text projects for selection. The selected project is opened in the existing window.

* `node backend seed` - Prompts for a directory name where the seed project will be initialized. Clones the repo [Node Backend Seed](https://github.com/projectweekend/Node-Backend-Seed) into the root of the directory.

* `node start api` - Prompts with a list of directories inside the current;y open project. After selecting one it prompts for an api module name. Creates a directory named for the module and stubs out all the files the way I like.