Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fleshed out Scala live templates

  • Loading branch information...
commit 9f1367dd84f5381fe3acf492cb287853145d14be 1 parent a54901f
@AlexBaranosky authored
Showing with 41 additions and 3 deletions.
  1. +9 −3 README.md
  2. +32 −0 user.xml
View
12 README.md
@@ -108,8 +108,14 @@ tbl
tst
-s
+ test("$TITLE$") {
+ $TEST_CODE$
+ }
+
+sb
+
+ should be ($EXPECTED$)
-sn
+snb
- coming soon...
+ should not be ($EXPECTED$)
View
32 user.xml
@@ -297,5 +297,37 @@
<option name="OTHER" value="false" />
</context>
</template>
+ <template name="sb" value="should be ($EXPECTED$)" description="should be(...)" toReformat="true" toShortenFQNames="true">
+ <variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" />
+ <context>
+ <option name="JAVA_CODE" value="false" />
+ <option name="JAVA_COMMENT" value="false" />
+ <option name="JAVA_STRING" value="false" />
+ <option name="COMPLETION" value="false" />
+ <option name="HTML_TEXT" value="false" />
+ <option name="HTML" value="false" />
+ <option name="XSL_TEXT" value="false" />
+ <option name="XML" value="false" />
+ <option name="GROOVY" value="false" />
+ <option name="MAVEN" value="false" />
+ <option name="OTHER" value="true" />
+ </context>
+ </template>
+ <template name="snb" value="should not be ($EXPECTED$)" description="should not be (...)" toReformat="true" toShortenFQNames="true">
+ <variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" />
+ <context>
+ <option name="JAVA_CODE" value="false" />
+ <option name="JAVA_COMMENT" value="false" />
+ <option name="JAVA_STRING" value="false" />
+ <option name="COMPLETION" value="false" />
+ <option name="HTML_TEXT" value="false" />
+ <option name="HTML" value="false" />
+ <option name="XSL_TEXT" value="false" />
+ <option name="XML" value="false" />
+ <option name="GROOVY" value="false" />
+ <option name="MAVEN" value="false" />
+ <option name="OTHER" value="true" />
+ </context>
+ </template>
</templateSet>
Please sign in to comment.
Something went wrong with that request. Please try again.