Added kotlinVariableOfType() live template macro and replaced variableOfType() with kotlinVariableOfType() in soutv live template.

This commit is contained in:
Evgeny Gerashchenko
2012-01-30 20:11:35 +04:00
parent 11c550ec8a
commit 996863e292
5 changed files with 132 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
<template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.soutv"
name="soutv" toReformat="true" toShortenFQNames="true" value="println(&quot;$EXPR_COPY$ = $DOLLAR${$EXPR$}&quot;)">
<variable alwaysStopAt="false" defaultValue="&quot;$&quot;" expression="" name="DOLLAR" />
<variable alwaysStopAt="true" defaultValue="&quot;expr&quot;" expression="variableOfType(&quot;&quot;)" name="EXPR" />
<variable alwaysStopAt="true" defaultValue="&quot;expr&quot;" expression="kotlinVariableOfType(&quot;&quot;)" name="EXPR" />
<variable alwaysStopAt="false" defaultValue="" expression="EXPR" name="EXPR_COPY" />
<context>
<option name="KOTLIN_STATEMENT" value="true" />