Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sublime text 2 bundle for Play 2
Branch: master

Merge pull request #22 from mchv/patch-1

Add OPTIONS as keyword in Routes
Failed to load latest commit information.
.gitignore
Play-Routes.JSON-tmLanguage
Play-Routes.tmLanguage
Play-Scala-Template.JSON-tmLanguage
Play-Scala-Template.tmLanguage
README.md
action.sublime-snippet
actor.sublime-snippet
async.sublime-snippet
badRequest.sublime-snippet
bindform.sublime-snippet
cacheget.sublime-snippet
cacheset.sublime-snippet
callbackenum.sublime-snippet
comet.sublime-snippet
configuration.tmLanguage
controller.sublime-snippet
cookieget.sublime-snippet
cookieset.sublime-snippet
dbconn.sublime-snippet
dctrans.sublime-snippet
evolutions.sublime-snippet
flashget.sublime-snippet
flashset.sublime-snippet
foreach.sublime-snippet
form.sublime-snippet
fromconf.sublime-snippet
global.sublime-snippet
htmlform.sublime-snippet
internalError.sublime-snippet
jaction.sublime-snippet
jactor.sublime-snippet
jasync.sublime-snippet
jbadRequest.sublime-snippet
jbindform.sublime-snippet
jcacheget.sublime-snippet
jcacheset.sublime-snippet
jcomet.sublime-snippet
jcontroller.sublime-snippet
jcookieget.sublime-snippet
jcookieset.sublime-snippet
jdbconn.sublime-snippet
jdctrans.sublime-snippet
jentity.sublime-snippet
jflashget.sublime-snippet
jflashset.sublime-snippet
jform.sublime-snippet
jfromconf.sublime-snippet
jglobal.sublime-snippet
jinternalError.sublime-snippet
jnotFound.sublime-snippet
jok.sublime-snippet
jredirect.sublime-snippet
jschedule.sublime-snippet
jsessionget.sublime-snippet
jsessionset.sublime-snippet
jstatus.sublime-snippet
junauthorized.sublime-snippet
jwebsocket.sublime-snippet
notFound.sublime-snippet
ok.sublime-snippet
pushenum.sublime-snippet
redirect.sublime-snippet
schedule.sublime-snippet
sessionget.sublime-snippet
sessionset.sublime-snippet
sql.sublime-snippet
sse.sublime-snippet
status.sublime-snippet
template.sublime-snippet
todo.sublime-snippet
tupleform.sublime-snippet
unauthorized.sublime-snippet
websocket.sublime-snippet

README.md

A Play 2.0 Bundle for Sublime text 2

Get the latest Sublime Text 2 beta from http://www.sublimetext.com/2.

Currently supported features

Syntax highlighting

  • For *.scala.html
  • For *.routes
  • For *.conf

Code snippets

  • action ➝ : Creates an action (scala & java)
  • actor ➝ : Get an actor from Akka (scala & java)
  • aync ➝ : Creates an async result (scala & java)
  • bindform ➝ : Creates form binding from request structure (scala & java)
  • cacheget ➝ : Retrieve value from cache (scala & java)
  • cacheset ➝ : Put value in cache (scala & java)
  • callbackenum ➝ : Creates callback enumerator (scala)
  • controller ➝ : Creates a Controller structure (scala & java)
  • dbconn ➝ : Creates a DB.withConnection structure (scala & java)
  • dbtrans ➝ : Creates a DB..withTransaction structure (scala & java)
  • entity ➝ : Creates a Ebean entity structure (java)
  • evolutions ➝ : Creates the evolution up/down tags in sql file
  • pforeach ➝ : Creates an foreach structure in templates (html)
  • form ➝ : Creates a simple form structure (scala & java)
  • pform ➝ : Creates a simple html form (html)
  • fromconf ➝ : Creates value from conf file (scala & java)
  • global ➝ : Creates a Global object structure (scala & java)
  • htmlform ➝ : Creates a form in templates (html)
  • model ➝ : Creates a JDBC model structure (scala)
  • ok ➝ : Creates a Ok result (scala & java)
  • pushenum ➝ : Creates an imperative enumerator (scala)
  • redirect ➝ : Creates redirection (scala & java)
  • schedule ➝ : Creates a scheduled task (scala & java)
  • sql ➝ : Creates a SQL structure (scala)
  • sessionget ➝ : Retrieve a value from session (scala & java)
  • sessionset ➝ : Put value in session (scala & java)
  • sse ➝ : Creates a SSE action (scala)
  • tupleform ➝ : Creates a multiple input form (scala)
  • template ➝ : Creates a html template structure (html)
  • websocket ➝ : Creates a websocket action (scala & java)

Theme

Currently optimized for the Dawn theme.

Installation instructions :

Mac

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/guillaumebort/play2-sublimetext2.git play2

Linux (Ubuntu like distros)

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/guillaumebort/play2-sublimetext2.git play2

Windows 7:

Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"

Windows XP:

Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"
Something went wrong with that request. Please try again.