đź’» Sublime Text extension for Sinatra
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
configure.sublime-snippet
delete.sublime-snippet
get.sublime-snippet
helpers.sublime-snippet
patch.sublime-snippet
post.sublime-snippet
put.sublime-snippet
sinatra.sublime-snippet

README.md

Sinatra Sublime

A Sublime Text package, for the Sinatra ruby web framework. It currently on has snippets, but I'll extend workspaces and other extensions sooner or later.

Usage

get + <TAB> will give you:

get '/' do

end



This is the same thing for put, post,patch and delete.

Installation

$ cd ~/Library/Application Support/Sublime Text 2/Packages
$ git clone http://github.com/karlcoelho/Sinatra-Sublime.git Sinatra



Then just restart Sublime, and you're ready!

Warnings

I've only tested this on Sublime Text 2. ST 3 should work exactly the same, but I'm not sure.
If you do see problems, feel free to tweet at me about the problem.

Licensing

Can't ever forget this stuff. http://mit.karlcoelho.com/