How to turn of that IntelliJ add return type Unit on refactoring like with "Introduce Parameter..." in kotlin?

Answered

When I finish the above Introduce Parameter... : Unit is added. Is it possible stop this behavior? The method should not return anything so I have to remove : Unit manually for each refactoring.

 

0
2 comments
Hi there, 

Thank you for reaching out! Unfortunately, I couldn't reproduce the issue in my IntelliJ IDEA with the code example shown in your screenshot. Could you please provide more information about the case, including your IntelliJ version, your sample code, and any plugins you have installed, and create an issue here: http://kotl.in/issue  
We're actively monitoring this issue board and will be able to provide you with assistance soon.
0

Please sign in to leave a comment.