Reputation: 2785
I need leave something to do later on my code and TODO()
auto generated produces a very long comment like follow
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
The above line tell me to go to File -> Setting -> File Template
to change it, but this option not exists to TODO()
functions. How to solve it?
Upvotes: 3
Views: 2366
Reputation: 700
Go to the Preferences window in Android Studio, select Editor -> File and Code Templates
, open the Code
tab, there you will find an option for New Kotlin Function Body
which you can customize.
Upvotes: 8