Created
April 6, 2020 15:00
-
-
Save cortinico/08c19280965bfea9682c8043fa81da30 to your computer and use it in GitHub Desktop.
.debug -> .also(::println) Live 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="Kotlin"> | |
<template name="debug" value="also(::println)" description="Print a debug log" toReformat="false" toShortenFQNames="true"> | |
<context> | |
<option name="KOTLIN" value="true" /> | |
<option name="KOTLIN_COMMENT" value="false" /> | |
<option name="KOTLIN_TOPLEVEL" value="false" /> | |
</context> | |
</template> | |
</templateSet> |
Here you can see the Live Template in action:
https://twitter.com/cortinico/status/1247187387173781506
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to copy over this template inside the files in your local settings: