intellij idea , android studio,kotlin类型展示

新版和旧版设置方法不同

旧版 : Settings -> Editor -> General -> Appearance -> "Show parameter name hints" -> Configure... -> Language: Kotlin -> Options -> "Show local variable type hints"

 

新版:Settings->Editor -> Inlay Hints -> kotlin ->Types->Show hints for ->Local variable types 

选中后保存,关闭软件,再打开

猜你喜欢

转载自blog.csdn.net/jingzz1/article/details/110198566