# Overview [![Gem Version](https://badge.fury.io/rb/sublime_text_kit.png)](http://badge.fury.io/rb/sublime_text_kit) [![Code Climate GPA](https://codeclimate.com/github/bkuhlmann/sublime_text_kit.png)](https://codeclimate.com/github/bkuhlmann/sublime_text_kit) [![Code Climate Coverage](https://codeclimate.com/github/bkuhlmann/sublime_text_kit/coverage.png)](https://codeclimate.com/github/bkuhlmann/sublime_text_kit) [![Gemnasium Status](https://gemnasium.com/bkuhlmann/sublime_text_kit.png)](https://gemnasium.com/bkuhlmann/sublime_text_kit) [![Travis CI Status](https://secure.travis-ci.org/bkuhlmann/sublime_text_kit.png)](http://travis-ci.org/bkuhlmann/sublime_text_kit) [![Gittip](http://img.shields.io/gittip/bkuhlmann.svg)](https://www.gittip.com/bkuhlmann) Provides a collection of utilities that aid in Sublime Text managment. These utilities are fairly sparse at the moment but will grow over time as new needs arise. # Features * Rebuilds recent workspace history (via Project -> Recent Projects) from existing project files (assumes workspaces are in a single directory) so one can easily toggle between up-to-date project information via the COMMAND+CONTROL+P shortcut. # Requirements 0. Any of the following Ruby VMs: * [MRI 2.x.x](http://www.ruby-lang.org) * [JRuby 1.x.x](http://jruby.org) * [Rubinius 2.x.x](http://rubini.us) 0. [Sublime Text 2](http://www.sublimetext.com). # Setup For a secure install, type the following from the command line (recommended): gem cert --add <(curl -Ls http://www.alchemists.io/gem-public.pem) gem install sublime_text_kit --trust-policy MediumSecurity NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while allowing the installation of unsigned dependencies since they are beyond the scope of this gem. For an insecure install, type the following (not recommended): gem install sublime_text_kit You can define settings by creating the following file: ~/.sublime/settings.yml Example: --- :workspaces_path: ~/Dropbox/Cache/Sublime # Usage From the command line, type: stk stk -e, [--edit] # Edit settings in default editor (assumes $EDITOR environment variable). stk -h, [--help=HELP] # Show this message or get help for a command. stk -s, [--session] # Manage session data. stk -v, [--version] # Show version. For session options, type: stk help --session -r, [--rebuild-recent-workspaces] # Rebuild recent workspaces. # Troubleshooting * When rebuilding workspaces, ensure Sublime Text is shutdown or changes won't be applied. * When rebuilding workspaces, ensure workspaces_path (as defined via settings.yml) points to a directory containing both *.sublime-project and *.sublime-workspace files. # Tests To test, run: bundle exec rspec spec # Versioning Read [Semantic Versioning](http://semver.org) for details. Briefly, it means: * Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes. * Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes. * Major (X.y.z) - Incremented for any backwards incompatible public API changes. # Contributions Read [CONTRIBUTING](CONTRIBUTING.md) for details. # Credits Developed by [Brooke Kuhlmann](http://www.alchemists.io) at [Alchemists](http://www.alchemists.io). # License Copyright (c) 2014 [Alchemists](http://www.alchemists.io). Read the [LICENSE](LICENSE.md) for details. # History Read the [CHANGELOG](CHANGELOG.md) for details. Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).