Created
May 9, 2019 14:14
-
-
Save TonyPepeBear/fde5a8946705ac5a6c33b59a7691e139 to your computer and use it in GitHub Desktop.
Android Kotlin Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<templateSet group="AndroidKotlin"> | |
<template name="logd" value="logd("$METHOD_NAME$: $content$")" description="Log.d(String)" toReformat="true" toShortenFQNames="true"> | |
<variable name="METHOD_NAME" expression="kotlinFunctionName()" defaultValue="" alwaysStopAt="true" /> | |
<variable name="content" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="KOTLIN_STATEMENT" value="true" /> | |
</context> | |
</template> | |
<template name="todo" value="//TODO $todo$" description="" toReformat="false" toShortenFQNames="true"> | |
<variable name="todo" expression="" defaultValue="" alwaysStopAt="true" /> | |
<context> | |
<option name="JAVA_CODE" value="true" /> | |
<option name="KOTLIN" value="true" /> | |
</context> | |
</template> | |
</templateSet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment