Intellij idea, android studio, kotlin type display

The new version and the old version have different setting methods

旧版 : 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 

 

Select and save, close the software, and then open

Guess you like

Origin blog.csdn.net/jingzz1/article/details/110198566