Auto add ? when you type . after nullable field

I’m not sure if this even belongs here, this has more to do with IDE than language itself, but not sure where to ask this

Is it possible to automatically add ? before dot after typing dot after nullable field.
I think i saw this on some other language/IDE

Android Studio/Intellij IDEA

That would not always be what you want.

There can be extension functions defined on billable types, for example let allows nullable receiver.

1 Like

True, didn’t think of that.
But, in that case, it can be done when you finish typing the function, press enter/tab, etc