3

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?

Zoe
  • 27,060
  • 21
  • 118
  • 148
Abner Escócio
  • 2,697
  • 2
  • 17
  • 36

1 Answers1

8

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.

Dominik G.
  • 610
  • 3
  • 7