How to disable "Convert Java to Kotlin on paste" in IntelliJ IDEA?

When IntelliJ IDEA detects that I am pasting a fragment of the copied Java code into a Kotlin file, it prompts me to convert the pasted Java to Kotlin. This dialog contains the checkbox "Do not ask again next time." I checked this field and selected "Yes", but now I want to deselect my default. How to do it?

I searched and searched in the IntelliJ IDEA settings, but did not find the corresponding checkbox. Is this really in the settings or can I somehow choose reset to default?

+5
source share
1 answer

Preferences -> Editor -> General -> Smart Keys and somewhere below you should find your checkbox (it took me a while to find this, phew)

Convert Kotlin to Java

+7
source

Source: https://habr.com/ru/post/1274337/


All Articles