It's not supported by IDEA at present. I've created a feature request for this: https://youtrack.jetbrains.com/issue/IDEA-361893/Introduce-local-variable-should-suggest-for-Function-expression