How do I disable 'Convert Java to Kotlin upon paste' in IntelliJ IDEA?

Erik :

When IntelliJ IDEA detects I'm pasting a piece of copied Java code into a Kotlin file, it offers me to convert the pasted Java to Kotlin. This dialog contains a 'Do no ask again next time checkbox'. I checked this box and selected 'Yes', but now I want to undo my default choice. How do I do this?

I've looked and searched in IntelliJ IDEA's preferences, but haven't found the respective checkbox. Is it actually in the settings, or can I somehow reset default checkbox selections?

Andrei Sfat :

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

Convert Kotlin to Java

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=437087&siteId=1