Skip to content

Commit

Permalink
Merge pull request #1592 from alex-dukhno/ex-unit-describe-block-temp…
Browse files Browse the repository at this point in the history
…late

added ExUnit describe block template
  • Loading branch information
KronicDeth committed Sep 27, 2019
2 parents a4fade4 + 2efd68f commit d74fc02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/liveTemplates/Elixir.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
<option name="ELIXIR_CODE" value="true" />
</context>
</template>
<template name="describe" value="describe &quot;$DESC_BLOCK$&quot; do&#10; $END$&#10;end" description="describe ... do ... end" toReformat="true" toShortenFQNames="true" >
<variable name="DESC_BLOCK" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="ELIXIR_CODE" value="true" />
</context>
</template>
<template name="try" value="try do&#10; $1$&#10;rescue&#10; $2$ -&gt; $END$&#10;" description="try ... rescue .. end" toReformat="true" toShortenFQNames="true" >
<variable name="1" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="2" expression="" defaultValue="" alwaysStopAt="true" />
Expand Down

0 comments on commit d74fc02

Please sign in to comment.