Abn*_*cio 3 comments todo kotlin android-studio
我需要在我的代码上留下一些事情要做,并且TODO()自动生成会产生很长的评论,例如 follow
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
Run Code Online (Sandbox Code Playgroud)
上面一行告诉我去File -> Setting -> File Template改变它,但这个选项不存在于TODO()函数中。如何解决?
转到 Android Studio 中的 Preferences 窗口,选择Editor -> File and Code Templates,打开Code选项卡,在那里您会找到一个New Kotlin Function Body可以自定义的选项。
| 归档时间: |
|
| 查看次数: |
1181 次 |
| 最近记录: |