Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit c355137dacd172e64e29bba24a1865f3ee90d4c7 0 parents
@rmcooper authored
3  README.md
@@ -0,0 +1,3 @@
+## Play 2.0 Framework Syntax ##
+
+These bundle was created from the Sublime Text 2 package for Play.
124 Syntaxes/Play-Routes.tmLanguage
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>fileTypes</key>
+ <array>
+ <string>routes</string>
+ </array>
+ <key>name</key>
+ <string>Play Routes</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>(?&lt;=\A)#</string>
+ <key>end</key>
+ <string>\Z</string>
+ <key>name</key>
+ <string>comment</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(?&lt;=\A)(GET|POST|PUT|PATCH|DELETE|HEAD|-&gt;)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>constant.httpVerb</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\Z</string>
+ <key>name</key>
+ <string>definition.route</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>(?=/)</string>
+ <key>end</key>
+ <string>\Z</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>/</string>
+ <key>end</key>
+ <string>\s</string>
+ <key>name</key>
+ <string>string</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>variable</string>
+ </dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>(:|[*])([a-zA-Z]+)</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>([$])([a-zA-Z]+)&lt;</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>variable</string>
+ </dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>&gt;</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.regexp</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(?&lt;=\s)[a-zA-Z]</string>
+ <key>end</key>
+ <string>\Z</string>
+ <key>name</key>
+ <string>source.scala</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ <key>scopeName</key>
+ <string>text.play.routes</string>
+ <key>uuid</key>
+ <string>2f98fbfb-2ea7-41e1-a3e6-e15e7388e753</string>
+</dict>
+</plist>
1,133 Syntaxes/Play-Scala-Template.tmLanguage
@@ -0,0 +1,1133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>fileTypes</key>
+ <array>
+ <string>scala.html</string>
+ </array>
+ <key>name</key>
+ <string>Play Scala Template (HTML)</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#templateHeader</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#expression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#paranthesesExpression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#bracketExpression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#blockContinuation</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#caseExpression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#comment</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#escapedAt</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#invalidAt</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&lt;)([a-zA-Z0-9:]++)(?=[^&gt;]*&gt;&lt;/\2&gt;)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(&gt;)(&lt;)(/)(\2)(&gt;)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.end.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html</string>
+ </dict>
+ <key>4</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.html</string>
+ </dict>
+ <key>5</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>meta.tag.any.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&lt;\?)(xml)</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.xml.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(\?&gt;)</string>
+ <key>name</key>
+ <string>meta.tag.preprocessor.xml.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-generic-attribute</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#string-double-quoted</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#string-single-quoted</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>&lt;!--</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>--\s*&gt;</string>
+ <key>name</key>
+ <string>comment.block.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>--</string>
+ <key>name</key>
+ <string>invalid.illegal.bad-comments-or-CDATA.html</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>&lt;!</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>&gt;</string>
+ <key>name</key>
+ <string>meta.tag.sgml.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>(?i:DOCTYPE)</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.doctype.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(?=&gt;)</string>
+ <key>name</key>
+ <string>meta.tag.sgml.doctype.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>"[^"&gt;]*"</string>
+ <key>name</key>
+ <string>string.quoted.double.doctype.identifiers-and-DTDs.html</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\[CDATA\[</string>
+ <key>end</key>
+ <string>]](?=&gt;)</string>
+ <key>name</key>
+ <string>constant.other.inline-data.html</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>(\s*)(?!--|&gt;)\S(\s*)</string>
+ <key>name</key>
+ <string>invalid.illegal.bad-comments-or-CDATA.html</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(?:^\s+)?(&lt;)((?i:style))\b(?![^&gt;]*/&gt;)</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.style.html</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(&lt;/)((?i:style))(&gt;)(?:\s*\n)?</string>
+ <key>name</key>
+ <string>source.css.embedded.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&gt;)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(?=&lt;/(?i:style))</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>source.css</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(?:^\s+)?(&lt;)((?i:script))\b(?![^&gt;]*/&gt;)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.script.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(?&lt;=&lt;/(script|SCRIPT))(&gt;)(?:\s*\n)?</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>source.js.embedded.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(?&lt;!&lt;/(?:script|SCRIPT))(&gt;)</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.script.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(&lt;/)((?i:script))</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.js</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>(//).*?((?=&lt;/script)|$\n?)</string>
+ <key>name</key>
+ <string>comment.line.double-slash.js</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>/\*</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.js</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\*/|(?=&lt;/script)</string>
+ <key>name</key>
+ <string>comment.block.js</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#php</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>source.js</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&lt;/?)((?i:body|head|html)\b)</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.structure.any.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(&gt;)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>meta.tag.structure.any.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&lt;/?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.block.any.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(&gt;)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>meta.tag.block.any.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&lt;/?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.inline.any.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>((?: ?/)?&gt;)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>meta.tag.inline.any.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>(&lt;/?)([a-zA-Z0-9:]+)</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.begin.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.tag.other.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(&gt;)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.tag.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>meta.tag.other.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-stuff</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#entities</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>&lt;&gt;</string>
+ <key>name</key>
+ <string>invalid.illegal.incomplete.html</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>&lt;</string>
+ <key>name</key>
+ <string>invalid.illegal.bad-angle-bracket.html</string>
+ </dict>
+ </array>
+ <key>repository</key>
+ <dict>
+ <key>blockContinuation</key>
+ <dict>
+ <key>begin</key>
+ <string>\}</string>
+ <key>comment</key>
+ <string>Block continuation</string>
+ <key>end</key>
+ <string>\s*else\s*\{|\s*\{\s*\(?[_a-zA-Z0-9,]*\)?\s*=&gt;|\s*\{|(?=[^()._a-zA-Z0-9]|[.](?=[^a-zA-Z]))</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expressionP</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>$self</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <key>bracketExpression</key>
+ <dict>
+ <key>begin</key>
+ <string>(@)\{</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.at</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>Bracket expression</string>
+ <key>end</key>
+ <string>\}</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\{</string>
+ <key>end</key>
+ <string>\}</string>
+ <key>name</key>
+ <string>source.expressionP</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>$self</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <key>caseExpression</key>
+ <dict>
+ <key>begin</key>
+ <string>(?=case\s+.*=&gt;\s*@?\{)</string>
+ <key>comment</key>
+ <string>Case expression</string>
+ <key>end</key>
+ <string>=&gt;\s*(?=@\{)|=&gt;\s*\{</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ <key>comment</key>
+ <dict>
+ <key>begin</key>
+ <string>@[*]</string>
+ <key>comment</key>
+ <string>Comment</string>
+ <key>end</key>
+ <string>[*]@</string>
+ <key>name</key>
+ <string>comment</string>
+ </dict>
+ <key>embedded-code</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#templateHeader</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#expression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#paranthesesExpression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#bracketExpression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#blockContinuation</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#caseExpression</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#comment</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#escapedAt</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#invalidAt</string>
+ </dict>
+ </array>
+ </dict>
+ <key>entities</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.entity.html</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.entity.html</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>(&amp;)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)</string>
+ <key>name</key>
+ <string>constant.character.entity.html</string>
+ </dict>
+ <dict>
+ <key>match</key>
+ <string>&amp;</string>
+ <key>name</key>
+ <string>invalid.illegal.bad-ampersand.html</string>
+ </dict>
+ </array>
+ </dict>
+ <key>escapedAt</key>
+ <dict>
+ <key>match</key>
+ <string>@@</string>
+ <key>name</key>
+ <string>keyword.escapedAt</string>
+ </dict>
+ <key>expression</key>
+ <dict>
+ <key>begin</key>
+ <string>(@)(?=[a-zA-Z])</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.at</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>Classical expression ($self is not working?)</string>
+ <key>end</key>
+ <string>\s*\s*\s*=\s*(\{|\s*(?=@\{))|\s*@?\{\s*\(?[_a-zA-Z0-9,]*\)?\s*=&gt;|\s*\{|(?=[^(._a-zA-Z0-9]|[.](?=[^a-zA-Z]))</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <key>invalidAt</key>
+ <dict>
+ <key>match</key>
+ <string>@</string>
+ <key>name</key>
+ <string>invalid.illegal</string>
+ </dict>
+ <key>paranthesesExpression</key>
+ <dict>
+ <key>begin</key>
+ <string>(@)\(</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.at</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>Parentheses expression</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expressionP</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>$self</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <key>string-double-quoted</key>
+ <dict>
+ <key>begin</key>
+ <string>"</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>"</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>string.quoted.double.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#entities</string>
+ </dict>
+ </array>
+ </dict>
+ <key>string-single-quoted</key>
+ <dict>
+ <key>begin</key>
+ <string>'</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>'</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>string.quoted.single.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#entities</string>
+ </dict>
+ </array>
+ </dict>
+ <key>tag-generic-attribute</key>
+ <dict>
+ <key>match</key>
+ <string>\b([a-zA-Z\-:]+)</string>
+ <key>name</key>
+ <string>entity.other.attribute-name.html</string>
+ </dict>
+ <key>tag-id-attribute</key>
+ <dict>
+ <key>begin</key>
+ <string>\b(id)\b\s*(=)</string>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>entity.other.attribute-name.id.html</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.separator.key-value.html</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>(?&lt;='|")</string>
+ <key>name</key>
+ <string>meta.attribute-with-value.id.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>"</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.html</string>
+ </dict>
+ </dict>
+ <key>contentName</key>
+ <string>meta.toc-list.id.html</string>
+ <key>end</key>
+ <string>"</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>string.quoted.double.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#entities</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>'</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.begin.html</string>
+ </dict>
+ </dict>
+ <key>contentName</key>
+ <string>meta.toc-list.id.html</string>
+ <key>end</key>
+ <string>'</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.string.end.html</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>string.quoted.single.html</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#entities</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ <key>tag-stuff</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#tag-id-attribute</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#tag-generic-attribute</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#string-double-quoted</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#string-single-quoted</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>#embedded-code</string>
+ </dict>
+ </array>
+ </dict>
+ <key>templateHeader</key>
+ <dict>
+ <key>begin</key>
+ <string>(?&lt;=\A)(@)\(</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.at</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>Template header</string>
+ <key>end</key>
+ <string>\)(?=[^(])|\Z</string>
+ <key>name</key>
+ <string>source.expression</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>\(</string>
+ <key>end</key>
+ <string>\)</string>
+ <key>name</key>
+ <string>source.expressionP</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>$self</string>
+ </dict>
+ <dict>
+ <key>include</key>
+ <string>source.scala</string>
+ </dict>
+ </array>
+ </dict>
+ </array>
+ </dict>
+ </dict>
+ <key>scopeName</key>
+ <string>text.play</string>
+ <key>uuid</key>
+ <string>104e6558-306a-4264-8432-5db3d908c33e</string>
+</dict>
+</plist>
70 Syntaxes/configuration.tmLanguage
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>fileTypes</key>
+ <array>
+ <string>conf</string>
+ </array>
+ <key>keyEquivalent</key>
+ <string>^~J</string>
+ <key>name</key>
+ <string>Java Properties</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.java-props</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>([#!])(.+)?$\n?</string>
+ <key>name</key>
+ <string>comment.line.number-sign.java-props</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>/\*</string>
+ <key>captures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.java-props</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\*/</string>
+ <key>name</key>
+ <string>comment.block.java-props</string>
+ </dict>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.other.java-props</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.separator.key-value.java-props</string>
+ </dict>
+ </dict>
+ <key>comment</key>
+ <string>Not compliant with the properties file spec, but this works for me, and I'm the one who counts around here.</string>
+ <key>match</key>
+ <string>^([^:=]+)([:=])(.*)$</string>
+ </dict>
+ </array>
+ <key>scopeName</key>
+ <string>source.java-props</string>
+ <key>uuid</key>
+ <string>2A28E50A-6B1D-11D9-8689-000D93589AF6</string>
+</dict>
+</plist>
20 info.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>contactName</key>
+ <string>Robert Cooper</string>
+ <key>description</key>
+ <string>Sublime Play To ChcolateApp</string>
+ <key>name</key>
+ <string>Play 2 Framework</string>
+ <key>ordering</key>
+ <array>
+ <string>2A28E50A-6B1D-11D9-8689-000D93589AF6</string>
+ <string>2f98fbfb-2ea7-41e1-a3e6-e15e7388e753</string>
+ <string>104e6558-306a-4264-8432-5db3d908c33e</string>
+ </array>
+ <key>uuid</key>
+ <string>2d8b0f25-49c5-45fb-98f7-8f273427f4e0</string>
+</dict>
+</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.