Skip to content

Commit

Permalink
added ExUnit describe block template
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dukhno committed Sep 27, 2019
1 parent a4fade4 commit 2efd68f
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 2efd68f

Please sign in to comment.