Kotlin: Why are most variables underlined in Android Studio and how do I turn that off?

It’s just Editor Preferences.

Edit:

This is moved to

Preferences -> Editor -> Color Scheme -> Kotlin -> Properties and Variables

enter image description here

Thanks rmirabelle for the comment

For the old plugin, you can go to

Preferences -> Editor -> Color Scheme -> Kotlin

Then find Var (mutable variable, parameter or property) and remove Underscored effect.

I guess they just try to discourage using var by adding the annoying underscored. 😛

old plugin

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)